market-data
A Rust lib to fetch & enhance historical time-series stock market data.
For fetching data the Sync version using ureq http client is default, to reduce dependencies, however an Async version using reqwest http client is available.
For async enable feature in dependency: market-data = { version = "*", features = ["use-async"] }
Usage
Check the Examples folder for more examples.
use Result;
use lazy_static;
use ;
use var;
//use std::fs::File;
lazy_static!
Supported Publishers
Selected a number of sites that offer Free Tier, new Publishers can be added, your contribution is welcome. So far the following are supported.
Alternative providers, to be added:
- [] Polygon
- [] Nasdaq Data Link - WIKIP
- [] Marketstack
- [] Tradier
- [] Yahoo Finance site - maybe?
- [] Stook parse site- maybe?
Supported Market Technical Indicators
Others to be implemented:
Running the examples during development
Make sure that the api keys are exported, like: export Publisher_TOKEN=<your_toke_here>
In Cargo.toml use-sync is the default feature.