ADAMANT Trading & Market making bot is a software that allows to run trades on crypto exchanges, make fake volume (wash trading) and build live-like dynamic order book.
- In Market making mode, the bot places orders and execute them by himself, making a trade volume; and builds live-like dynamic order book.
- Trading is a mode when bot run orders according to some strategy. It can be profitable or not. Unavailable now—use Zenbot.
Trade bots work in ADAMANT Messenger chats directly.
Features:
- Managed with your commands using ADAMANT Messenger
- Easy to install and configure
- Free and open source
- Fill order books
- Place buy and sell limit or market orders
- Market making
- Dynamic order book
- Stores and displays statistics
Supported exchanges (more in progress):
Available commands: ask a bot with /help
command. Read more how to install and use the bot: Crypto trading & Market making bot in ADAMANT.
- Ubuntu 16 / Ubuntu 18 (other OS had not been tested)
- NodeJS v 8+
- MongoDB (installation instructions)
su - adamant
git clone https://github.com/Adamant-im/adamant-tradebot
cd ./adamant-tradebot
npm i
nano config.json
Parameters:
exchange
Exchange to work with. Available values see above. Case insensitive, obligatory.pair
Pair to with on the exchange. Obligatory.coin1Decimals
Meaningful decimals for output of coin1 amounts. Default is 8.coin2Decimals
Meaningful decimals for output of coin2 amounts. Default is 8.clearAllOrdersInterval
Interval in minutes to clear all opened orders. Default is 0 (disabled).apikey
Exchange's account API key (username/login for some exchanges) for connection. Obligatory.apisecret
Exchange's account API secret (password for some exchanges) for connection. Obligatory.apipassword
Exchange's account trade password. If needed for exchange.passPhrase
The bot's secret phrase for accepting commands. Obligatory. Bot's ADM address will correspond this passPhrase.admin_accounts
<string, array> ADAMANT accounts to accept commands from. Commands from other accounts will not be executed. At lease one account.notify_non_admins
Notify non-admins that they are not admins. If false, bot will be silent.node_ADM
<string, array> List of nodes for API work, obligatorilyinfoservice
<string, array> List of ADAMANT InfoServices for catching exchange rates, recommendedslack
Token for Slack alerts for the bot’s administrator. No alerts if not set.adamant_notify
ADM address for the bot’s administrator. Recommended.silent_mode
Enable if you don't want to receive "not enough balance" and "unable to execute cross-order" notifications. Default is "false".socket
If to use WebSocket connection. Recommended for better user experience.ws_type
Choose socket connection, "ws" or "wss" depending on your server.bot_name
Bot's name for notifications.welcome_string
How to reply user in-chat, if unknown command received.
You can start the Bot with the node app
command, but it is recommended to use the process manager for this purpose.
pm2 start --name tradebot app.js
crontab -e
Add string:
@reboot cd /home/adamant/adamant-tradebot && pm2 start --name tradebot app.js
su - adamant
cd ./adamant-tradebot
pm2 stop tradebot
mv config.json config_bup.json && git pull && mv config_bup.json config.json
npm i
pm2 start --name tradebot app.js