-
-
Notifications
You must be signed in to change notification settings - Fork 25
Quick Start
- Follow README.md to install the bot;
- Fill the config.
- Set bot’s
passPhrase
— create a separate ADAMANT account for it -
admin_accounts
— add your own ADAMANT account from which you’ll send commands to bot - Set
exchange
to P2PB2B or Azbit (soon we will add Binance),pair
, andapikey
/apisecret
.
- Set bot’s
- First make sure everything is alright with the installation;
- Start a chat with the bot. The bot will ignore contacts from accounts not in
admin_accounts
; - Rename the bot. You can name it like
Test CoinOptimus [Pair@Exchange]
for your convenience. Info about chats in ADAMANT Messenger helps on this; - Send
/balances
command to it (note: all the commands start with slash /), and you should get a reply:P2PB2B balances:
0.00972085 BTC
643.40463 DOGE
376 369.1 VCN (347 077.39 available & 29 291.71 frozen)
2.11177553 LTC
970.09399713 USDT (929.02178413 available & 41.072213 frozen)
Total holdings ~ 1 354.02 USD or 0.06648047 BTC
Total holdings (non-VCN) ~ 1 354.02 USD or 0.06648047 BTC.
You are all set!
To start trading with Ladder/ Grid strategy, use:
/start ld {AMOUNT} {COIN} {COUNT} {STEP%} [mid {MIDPRICE} COIN2]
-
AMOUNT
— order value inCOIN
.Amount
will be with random factor 2%. It’s a float number with precision depending on exchange.AMOUNT
can be inCOIN1
orCOIN2
-
COUNT
— number of orders each side, buy and sell -
STEP%
— how much consequent orders will differ by price -
Price
is a float number with precision depending on exchange -
[mid {MIDPRICE} COIN2]
— optional middle price setting. If not set, midprice will be(hb + la) / 2
The command asks for a confirmation before run
Example
/start ld 10 USDT 5 2%
If you want to stop (pause) the bot, run the command: /stop
.
It will pause trading, but it will not cancel open orders. Use /clear all
command to cancel orders. Note: it will cancel all orders, including those placed via exchange’s website.
You can place manual /buy
and /sell
orders. If you need to remove some type of orders, use /clear
command.
Try:
/buy VCN/USDT quote=7
The bot will buy VCN for 7 USDT at market price.
/buy VCN/USDT quote=7 price=0.0059
The bot will place an order to buy VCN for 7 USDT at 0.0059 price.
/buy VCN/USDT amount=2000 price=0.0059
The bot will place an order to buy 2000 VCN at 0.0059 price.
See your bot’s settings with /params
command.
The bot sends notifications on warnings and errors, which you’ll probably want to handle. For example, balance is not enough.
At any time you can request /stats
, /orders
, /deposit
, /rates
, /calc
and /pair
from the bot.