send orders to tomox rpc
This bot helps to increase liquidity for the market, not for taking profit
- Build binary for your current platform
go build
-
Build binaries for multiple platforms
(Not recommended: because it takes a few minutes)- Docker installed is required
- Update TOMOX_BOT_PACKAGE, TOMOX_BOT_VERSION in build.sh, point to your remote package
./build.sh
cp .env.sample .env
# update .env file
# run bot
./bot
for cancel order
./bot cancel [orderId]
We assume the baseToken, quoteToken of cancel orders defined in .env file, same pair as new order