Request examples#
Ready-to-send JSON payloads for the most common calls. Values are illustrative — adjust symbol, size and times. Field reference: the endpoint pages linked under each example. Full client examples (signing included): github.com/anbotolabs/examples.
All create-order payloads go to Create order unless stated otherwise.
TWAP#
Spread 0.5 BTC over one hour, hybrid style, randomized slices. duration_seconds is required for TWAP and VWAP. Download
{
"client_order_id": "ORD-2026-0001",
"exchange": "BINANCE",
"symbol": "BTC/USDT",
"asset_category": "SPOT",
"side": "BUY",
"quantity": "0.5",
"strategy": "TWAP",
"limit_price": "62000",
"start_time": "2026-09-01T10:00:00Z",
"end_time": "2026-09-01T11:00:00Z",
"params": {
"duration_seconds": "3600",
"trading_style": "HYBRID",
"randomize_amount": true
}
}
VWAP#
Four-hour passive VWAP. Download
{
"client_order_id": "ORD-2026-0002",
"exchange": "BINANCE",
"symbol": "BTC/USDT",
"asset_category": "SPOT",
"side": "BUY",
"quantity": "0.5",
"strategy": "VWAP",
"limit_price": "62000",
"start_time": "2026-09-01T10:00:00Z",
"end_time": "2026-09-01T14:00:00Z",
"params": {
"duration_seconds": "14400",
"trading_style": "PASSIVE"
}
}
Limit (post-only)#
Rest a limit order; post_only rejects any child that would cross. Download
{
"client_order_id": "ORD-2026-0003",
"exchange": "BINANCE",
"symbol": "BTC/USDT",
"asset_category": "SPOT",
"side": "BUY",
"quantity": "0.5",
"strategy": "LIMIT",
"limit_price": "60500",
"params": {
"post_only": true
}
}
Market (reduce-only, perpetual)#
Close 0.25 BTC of a perp position at market. Download
{
"client_order_id": "ORD-2026-0004",
"exchange": "BINANCE",
"symbol": "BTC/USDT:USDT",
"asset_category": "FUTURE",
"side": "SELL",
"quantity": "0.25",
"strategy": "MARKET",
"params": {
"reduce_only": true
}
}
Iceberg#
Show 0.25 BTC clips of a 5 BTC order. Download
{
"client_order_id": "ORD-2026-0005",
"exchange": "BINANCE",
"symbol": "BTC/USDT",
"asset_category": "SPOT",
"side": "BUY",
"quantity": "5",
"strategy": "ICEBERG",
"limit_price": "61000",
"clip_size_type": "ABSOLUTE",
"clip_size_val": "0.25",
"params": {
"trading_style": "PASSIVE",
"randomize_amount": true
}
}
Implementation shortfall#
Urgency drives the schedule (LOW / MEDIUM / HIGH). Download
{
"client_order_id": "ORD-2026-0006",
"exchange": "BINANCE",
"symbol": "BTC/USDT",
"asset_category": "SPOT",
"side": "BUY",
"quantity": "0.5",
"strategy": "IS",
"limit_price": "62500",
"params": {
"urgency": "HIGH"
}
}
Scale (ladder)#
Ten resting orders laddered from 61 000 down to 59 000. Download
{
"client_order_id": "ORD-2026-0007",
"exchange": "BINANCE",
"symbol": "BTC/USDT",
"asset_category": "SPOT",
"side": "BUY",
"quantity": "2",
"strategy": "SCALE",
"clip_size_type": "ORDER_COUNT",
"clip_size_val": "10",
"params": {
"start_ladder_price": "61000",
"end_ladder_price": "59000",
"ladder_direction": "downwards",
"ladder_profile": "linear",
"size_skew": 1
}
}
Triggered order#
TWAP that starts only once the price trades above 63 000. Download
{
"client_order_id": "ORD-2026-0008",
"exchange": "BINANCE",
"symbol": "BTC/USDT",
"asset_category": "SPOT",
"side": "BUY",
"quantity": "0.5",
"strategy": "TWAP",
"limit_price": "64000",
"params": {
"duration_seconds": "1800",
"trigger": {
"trigger_price": "63000",
"trigger_condition": "ABOVE"
}
}
}
Multi-leg pair#
Buy BTC / sell ETH, 10 000 USD each leg, BTC leading — Create multi legs order. Download
{
"client_order_id": "PAIR-2026-0001",
"algo": "PAIR",
"legs": [
{
"exchange": "BINANCE",
"symbol": "BTC/USDT",
"asset_category": "SPOT",
"side": "BUY",
"target_value": "10000",
"ccy": "USD",
"limit_price": "62000",
"strategy": "TWAP",
"params": {
"duration_seconds": "1800",
"trading_style": "HYBRID",
"is_leading": true
}
},
{
"exchange": "BINANCE",
"symbol": "ETH/USDT",
"asset_category": "SPOT",
"side": "SELL",
"target_value": "10000",
"ccy": "USD",
"limit_price": "2400",
"strategy": "TWAP",
"params": {
"duration_seconds": "1800",
"trading_style": "HYBRID",
"is_leading": false
}
}
],
"start_time": "2026-09-01T10:00:00Z",
"end_time": "2026-09-01T10:30:00Z"
}
Batch of orders#
Three TWAPs in one call — Create many orders. Download
{
"orders": [
{
"client_order_id": "BASKET-1-BTC",
"exchange": "BINANCE",
"symbol": "BTC/USDT",
"asset_category": "SPOT",
"side": "BUY",
"quantity": "0.5",
"strategy": "TWAP",
"params": {
"duration_seconds": "3600"
}
},
{
"client_order_id": "BASKET-1-ETH",
"exchange": "BINANCE",
"symbol": "ETH/USDT",
"asset_category": "SPOT",
"side": "BUY",
"quantity": "8",
"strategy": "TWAP",
"params": {
"duration_seconds": "3600"
}
},
{
"client_order_id": "BASKET-1-SOL",
"exchange": "BINANCE",
"symbol": "SOL/USDT",
"asset_category": "SPOT",
"side": "BUY",
"quantity": "150",
"strategy": "TWAP",
"params": {
"duration_seconds": "3600"
}
}
]
}
Cancel many#
By Anboto id or by your client id — Cancel many. Download
{
"orders": [
{
"order_id": 123456
},
{
"client_order_id": "BASKET-1-ETH"
}
]
}