Expand description
Official Rust client for FinzData point-in-time market data (16,000+ US stocks since 2000 incl. delisted, 139 futures markets with every contract since 2007, point-in-time GEX for single stocks, ETFs and major indexes, COT since 1986, SEC fundamentals as filed, 18,000+ macro series with every vintage). Get a free key at https://finzdata.com.
use finzdata::Client;
#[tokio::main]
async fn main() -> finzdata::Result<()> {
let c = Client::new()?;
let bars = c.prices("AAPL", Some("2024-01-01"), None, None).await?;
println!("bars: {}", bars.len());
let gex = c.gex("SPY", Some("2024-01-01"), None).await?;
println!("gex: {}", gex.len());
Ok(())
}Modules§
Structs§
- Bar
- Client
- Client
Builder - Dataset
Info - Fundamental
- Futures
Day - One daily futures bar for a contract or the continuous series.
statusispreliminaryon the newest session (volume preliminary, open interest not yet published) andfinalonce the exchange publishes it. - GexDay
- GexStrike
- Macro
Obs - Me
- Minute
Bar - Response