marketstore 0.1.1

Marketstore rust driver
Documentation

rsmarketstore

Rust driver for MarketStore

rsmarketstore can query and [write TBD] financial timeseries data from MarketStore

How to install

cargo add rsmarketstore

Examples

// Connect
    let agent = Agent::connect(
        Uri::from_static("http://localhost:5995").into()).await;

// Query
    agent
        .query(QueryParams {
            symbols: vec!["NIFTY 50".to_string()],
            timeframe: marketstore::MIN,
            attrgroup: "OHLCV".to_string(),
            ..Default::default()
        })
        .await?

Serde with Protobuf

Source can be found in examples/ohlcv

# Run
cargo run --example ohlcv --features=serde