Algorithmic trading against the Independent Reserve cryptocurrency exchange https://www.independentreserve.com/
See crypto-trader --help
for usage.
You will need to put your API keys somewhere, currently the path is hardcoded in main, either change this or put your keys in:
~/.config/crypto-trader/config.toml
Run crypto-trader --dump-config
to see the contents of the configuration file being read.
Sample config file:
[ir.read_only]
api_key = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
api_secret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
Run crypto-trader test
to test the exchange API.
Long running process to scrape orderbook data from the exchange.
screen -dmSL bot crypto-trader spread-trader
Output file is hardcoded in main.rs
, currently ./spread-bot.log
.
Contributions and ideas welcome, use at your own discretion.