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
//! No async runtime needed: cargo run --example blocking
fn main() -> finzdata::Result<()> {
    let fz = finzdata::blocking::Client::new()?;
    let cpi = fz.macro_obs("CPIAUCSL", Some("2022-01-01"), None, None, Some("2022-06-30"))?; // as known on 2022-06-30
    println!("{} CPI observations as of 2022-06-30", cpi.len());
    let me = fz.me()?;
    println!("plan {:?}, calls today {:?}", me.plan, me.calls_today);
    Ok(())
}