API documentation

ALGO — execution-primitive bot

ALGO is the construction kit: instead of a full strategy it runs one named execution algorithm with explicit buy/sell action parameters. Use it when you need a managed bracket (entry + take-profit + stop-loss as one unit), a one-shot TP/SL pair on an existing position, or TWAP execution of a large order.

Prerequisites: the bot lifecycle and the shared config blocks. Required fields: type, symbol, exchange, deposit.

📌 Shape alert: unlike the grid bots, ALGO’s symbol is a string ("BTCUSDT") and timeFrame is in minutes (shapes table).

The algorithms

strategy What it runs
algo_takeprofit_stoploss One-shot take-profit + stop-loss pair (sell + stop) around a position
algo_bracket Bracket order: buy entry with a sell take-profit and a stop stop-loss
algo_twap Time-weighted average price execution

Verified config — a bracket on BTC

{
  "type": "ALGO",
  "settings": {
    "type": "ALGO",
    "symbol": "BTCUSDT",
    "name": "BTC Algo Trader",
    "exchange": "binance-spot",
    "timeFrame": 15,
    "deposit": { "value": "500", "asset": "USDT", "strategy": "fixed", "allocate": "auto" },
    "strategy": "algo_bracket",
    "buy":  { "price": 0.5, "qty": 1 },
    "sell": { "price": 1.0, "qty": 1, "priceStrategy": "percent_buy" },
    "sellPostOnly": true
  }
}

ALGO-specific fields

Field Type Meaning
strategy string Algorithm name — see the table above; must match an available platform algorithm
buy object Buy action: price (number — offset or absolute, per algorithm), qty (number)
sell object Sell action: price, qty (numbers) + priceStrategy — how the sell price is derived; spec enum: percent_buy (percentage offset from the buy price) · fixed (absolute price)
sellPostOnly boolean All sells go post-only (maker-only): an order that would take liquidity is rejected, keeping you on maker fees

Shared fields apply as usual: timeFrame (minutes), timeout (array), filters, deposit, profitAsset, stop, orders, short, positionSide, marginType, onetime, name.

Pitfalls

  • buy/sell price and qty are JSON numbers, not strings — these are strategy knobs, not money-movement amounts (the conventions exception). How price is interpreted (offset vs absolute) depends on the chosen algorithm.
  • priceStrategy on ALGO is a two-value enum: percent_buy | fixed (the shared orders block of other bots additionally mentions dynamic/trailing). Copy a working example rather than guessing.
  • sellPostOnly can leave you unfilled in a fast market — that is the price of guaranteed maker fees.
  • symbol is a string and timeFrame is minutes — ALGO is the only trading bot shaped this way: the classic copy-paste trap when porting a FIBO/SQUEEZE config.

Verified against API spec v2.0.0 · 2026-07-12

Cookie Preferences

Manage your cookie preferences below. Necessary cookies are always active as they are essential for the website to function properly.

Strictly Necessary

Essential for the website to function. These cookies cannot be disabled.

Analytics

Help us understand how visitors interact with our website by collecting and reporting information anonymously.

Marketing

Used to track visitors across websites to display relevant advertisements.

Preferences

Allow the website to remember choices you make, such as language or region.