How to create your first bot, step by step

Updated:

Here is how to create your first bot step by step: open "Create a bot" in the service, go through the wizard blocks from top to bottom, press "Run backtest", and when the result suits you, save it as a bot and switch it on on the Bots page. Below is each block with an explanation of what it means. There are no "right" values: they depend on how much risk you are ready to carry.

Before you start

Real trading needs two things: a connected Binance key and a running market scanner. You can create settings and test them on history without either.

Step 1. Name

The "Name" field: up to 64 characters. If you run a backtest first, you can name the bot later. If you save without a backtest, the name is required.

Step 2. Pump

The rule for when a coin counts as "pumped" (details in crypto pump and dump).

  • Rise: 5%, 10%, 20% or 25%.
  • Within: 1 h, 1.5 h or 2 h.

Step 3. Trading volume

The coin's daily turnover on futures. You can pick several ranges, from "<1M" to ">100M" dollars. The bot will trade only coins from the chosen ranges. At least one range is required.

Step 4. How we enter

The entry order price and the waiting time.

  • "At the chart level": the order sits at the pump's peak. The best price, but it fills less often.
  • "+1.5% from the signal price": the order enters most often, the most trades.
  • "+2.5% from the signal price": a compromise.
  • "+4% from the signal price": strong bounces only.
  • "Wait for the fill, seconds": from 30 to 86400. Waiting longer fills more orders but gives a worse entry price.

Step 5. Exit

All percentages here are counted down from the entry price (the bot shorts).

  • "Take profit, %": the distance to the last take-profit, from 1 to 20. The take-profits in between are spaced evenly.
  • "How many take-profits and how we split the size": one, two or three take-profits and how the size is split. Next to each split is the minimum position size it works from: the smallest slice must be above the exchange's minimum order, otherwise the trade will not open.
  • "Breakeven": "don't apply", "after the first take-profit" or "after the second take-profit". Details: how a breakeven stop loss works.

Step 6. Risk

  • The stop-loss level: −10%, −15%, −20%, −25% or −30%. This is the price moving against you, not a share of the deposit. Next to each level is the maximum leverage.
  • "Entry size, % of deposit": what share of the deposit is set aside as margin for a trade (from 0.5 to 50).
  • "Leverage": a whole number, no higher than the limit for the chosen stop. A hint with the maximum appears under the field.
  • "Pause per coin, min": how long to wait after a trade closes before trading that coin again.

Read this before choosing: Binance futures leverage and liquidation.

Step 7. Coin filters

  • "Confirmation candle": do not short until the price has moved away from the peak. There is a separate "Pullback from the peak, %" field.
  • "Not ATH": do not short a coin that is breaking its 60-day high; the field is "Buffer to the high, %".
  • "Coin blacklist": comma-separated, for example BTCUSDT, ETHUSDT.

Step 8. Safeguards

  • "Max simultaneous positions".
  • "Max total margin, % of deposit".
  • "Daily loss limit, %": when the realized loss for the day reaches this share of the deposit, the bots are switched off.

How this all works together is described in how a trading bot protects a position.

Step 9. Test on history

The "Test on history" block: "Deposit, $" (from 50), "Period, days" (from 7 to 364), the "Fees and funding" toggle (on by default; switch it off and the result will be flattering) and "Compounding". At the top of the block the service shows which dates have candles.

Step 10. Backtest and saving

There are two buttons at the bottom:

  • "Run backtest": starts the calculation on the server. The page shows progress and refreshes itself. The result: backtest metrics explained. More about the method itself: crypto backtesting tool. Do not fool yourself: a good result on history guarantees nothing for the future.
  • "Save without backtest": creates the bot right away.

After a backtest, the result page has a "Bot name" field and a "Save" button (under the heading "Save as a bot"). The "← Change settings" link returns you to the wizard with the same values.

Step 11. Switch the bot on

A saved bot is always off. Open "Bots". Next to the bot you will see its state and a button.

  • "off": the bot is saved but does nothing.
  • "on, but idle": you switched it on, but nothing is running it. A note at the top of the page explains why: the market scanner is not running, no key is connected, or the key is for a different exchange.
  • "trading": all is well.

The "Switch on" button turns the bot on, and "Switch off" stops it. Protective orders of positions that are already open sit on the exchange itself, so watch them on the Trades page or in Binance.

What to check before you start

  1. The key is connected without withdrawal permission.
  2. Leverage and stop are not such that one bad trade hurts more than you are ready to lose.
  3. Limits are in place: maximum positions, total margin, daily loss limit.
  4. You understand that a bot can lose money in series.

Trading futures with leverage is risky, and backtest results are not a promise of a future result. Start with small amounts or on the test exchange.

Frequently asked questions

Can I create a bot without a backtest?

Yes: the "Save without backtest" button saves the settings right away. But we recommend checking them on history first, so you are not switching rules on blind.

Why does my saved bot not trade?

A saved bot is always off: you have to switch it on by hand on the Bots page. Trading also needs a connected Binance key and a running market scanner.

Can I change a bot's settings later?

Yes, open the bot from the Bots page. Changes apply to new trades only: a trade that is already open finishes with the old settings.

Can two bots trade the same coin at once?

No. An account can have only one open position per coin, so a second bot will not enter that coin until the first trade is closed.

Read also