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
symbolis a string ("BTCUSDT") andtimeFrameis 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/sellpriceandqtyare JSON numbers, not strings — these are strategy knobs, not money-movement amounts (the conventions exception). Howpriceis interpreted (offset vs absolute) depends on the chosen algorithm.priceStrategyon ALGO is a two-value enum:percent_buy|fixed(the sharedordersblock of other bots additionally mentionsdynamic/trailing). Copy a working example rather than guessing.sellPostOnlycan leave you unfilled in a fast market — that is the price of guaranteed maker fees.symbolis a string andtimeFrameis 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