{"repo":"databento/databento-rs","free":true,"listed":false,"github":"https://github.com/databento/databento-rs","clone":"git clone https://github.com/databento/databento-rs.git","description":"The official Rust client library for Databento","language":"Rust","stars":106,"topics":["async","databento","historical-data","http","market-data","real-time","tcp","tick-data"],"license":"Apache-2.0","category":"trading","readme_excerpt":"databento-rs The official Rust client library for Databento. The clients support fast and safe streaming of both real-time and historical market data through similar interfaces. The library is built on top of the tokio asynchronous runtime and Databento's efficient binary encoding. You can find getting started tutorials, full API method documentation, examples with output on the Databento docs site. Installation To add the crate to an existing project, run the following command: Feature flags - historical : enables the historical client for data older than 24 hours - live : enables the live client for real-time and intraday historical data - chrono : enables passing chrono types as datetime parameters By default, both the live and historical features are enabled and the historical client uses rustls for TLS. To use a different TLS implementation, disable default features for both the databento crate and reqwest. Usage Historical Here is a simple program that fetches 10 minutes worth of historical trades for E-mini S&P 500 futures from CME Globex: To run this program, set the DATABENTO API KEY environment variable with an API key and run cargo bin --example historical . Live Real-time and intraday replay is provided through the Live clients. Here is a simple program that fetches the next E-mini S&P 500 futures trade: To run this program, set the DATABENTO API KEY environment variable with an API key and run cargo run --example live License Distributed under the Apache 2.0 Lice","default_branch":null,"files":null,"tree":[],"storefront":"/r/databento","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/databento/databento-rs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}