ticksupply 0.1.0

Official Rust client for the Ticksupply market data API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! List all public exchanges.
//!
//! Run: `TICKSUPPLY_API_KEY=... cargo run --example list_exchanges`

#[tokio::main]
async fn main() -> ticksupply::Result<()> {
    let client = ticksupply::Client::new()?;
    for ex in client.exchanges().list().await? {
        println!("{:<15} {}", ex.code, ex.display_name);
    }
    Ok(())
}