Exbot is a blockchain exchange bot written in rust that contains trading, charts, strategies, and backtesting. As many ex/dex as possible support.
First change to the directory
cd exbot-py
make init
Run chart.py
python chart.py -c configs/config.toml -t 1m --strategy macd -i 10
Run bot.py
# amount is the number of symbol
python bot.py -c configs/config.toml --symbol NEAR/USDT:USDT -t 15m --strategy macd --amount 100 --amount_max=100 -i 10
# uamount is the number of usdt
python bot.py -c configs/config.toml --symbol NEAR/USDT:USDT -t 15m --strategy ichiv1 --uamount 100 --uamount_max=1000 -i 10
python charts/position.py
Run Backtesting.py
python backtesting.py -c configs/config.toml --symbol NEAR/USDT:USDT --strategy ichiv1 -t 15m --days 30