Skip to content

Quick Start

David Murasov edited this page Apr 26, 2023 · 14 revisions

Set up

  1. Follow README.md to install the bot;
  2. Fill the config.
    1. Set bot’s passPhrase — create a separate ADAMANT account for it
    2. admin_accounts — add your own ADAMANT account from which you’ll send commands to bot
    3. Set exchange to P2PB2B or Azbit (soon we will add Binance), pair, and apikey/apisecret.

Basics

  1. First make sure everything is alright with the installation;
  2. Start a chat with the bot. The bot will ignore contacts from accounts not in admin_accounts;
  3. Rename the bot. You can name it like Test CoinOptimus [Pair@Exchange] for your convenience. Info about chats in ADAMANT Messenger helps on this;
  4. 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!

Start trading

To start trading with Ladder/ Grid strategy, use: /start ld {AMOUNT} {COIN} {COUNT} {STEP%} [mid {MIDPRICE} COIN2]

  • AMOUNT — order value in COIN. Amount will be with random factor 2%. It’s a float number with precision depending on exchange. AMOUNT can be in COIN1 or COIN2
  • 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%

Stopping

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.

Manual orders

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.

Current parameters

See your bot’s settings with /params command.

Notifications

The bot sends notifications on warnings and errors, which you’ll probably want to handle. For example, balance is not enough.

More info

At any time you can request /stats, /orders, /deposit, /rates, /calc and /pair from the bot.

Clone this wiki locally