- Copy
config/config.yaml.exampletoconfig/config.yamland fill it with your coins and config (each field should be detailed in the example file)
- Have Go installed
- Create a test account and API Key on Binance Testnet
- Add the API Key/Secret to your
config.yaml - Activate
test_modein theconfig.yaml
Install Go dependancies
go mod tidyStart the bot
make runOther commands can be found in the Makefile
git pullon your servergo mod tidymake build- (Check the
config.yaml, test mode, thresholds, etc) nohup ./trading-bot > log.txt &to start the bot in a backend process unlinked to your sessiontail -f log.txtto follow the logs
jobsto list the commands ending with&that are runningfgto make it a "frontend" processctrl-cto cancel the process (it will wait 2s to finish cleanly)ps -aux | grep "trading-bot"to check that there's no trading-bot process running anymore