Preliminary side project. Only Websocket APIs are currently available. Deposits + orders + trade execution is under development.
- Setup PostgreSQL database with diesel.
$ export DATABASE_URL=postgres://{username}:{password}@localhost/trading_sys
$ diesel migration run
- Start Binance websockets API.
cargo run --bin binance
-
Entry point is
src/bin/binance/main.rs
, edit to explore other functions. -
Coinmarketcap API
cargo run --bin coinmarketcap -- --currency monero --start-date 2017-01-01 --end-date 2019-01-01