finzdata 0.2.0

Official Rust client for FinzData point-in-time market data: US stocks since 2000 (delisted included), every futures contract since 2007, point-in-time GEX, FX, indexes, crypto, COT, SEC fundamentals and vintage macro
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! cargo run --example prices   (set FINZDATA_API_KEY; free key at https://finzdata.com)
#[tokio::main]
async fn main() -> finzdata::Result<()> {
    let fz = finzdata::Client::new()?;
    let bars = fz.prices("AAPL", Some("2025-01-01"), None, None).await?;
    if let Some(note) = &bars.history_note { eprintln!("{note}"); }
    for b in bars.data.iter().rev().take(5) {
        println!("{} {} close {:?}", b.symbol, b.date, b.close);
    }
    Ok(())
}