binance_get_open_algo_orders
List currently working spot TWAP algo orders across all symbols to confirm a placement, check free slots before, or verify existence after a timeout.
Instructions
List the spot TWAP algo orders that are still working, across every symbol.
Calls GET /sapi/v1/algo/spot/openOrders (SIGNED, IP weight 1). It takes no filters:
one call returns everything currently running, which is also how you check the
20 open algo orders ceiling before placing another.
When to Use:
Right after
binance_place_twap_order, to confirm the order is actually working — the placement response only says "accepted".Before placing a new TWAP, to see how many of the 20 slots are free.
After a 5xx/timeout on a placement, to find out whether the order exists.
When NOT to Use:
For orders that have finished — use
binance_get_algo_order_history.For the fills of one order — use
binance_get_algo_sub_orders.For ordinary spot orders — use
binance_get_open_orders(spot_orders.py); algo and ordinary orders live in separate endpoints and neither lists the other.
Returns:
A markdown table (bookTime, algoId, symbol, side, algoStatus, algoType, totalQty,
executedQty, executedAmt, avgPrice, urgency, endTime) capped at 50 rows, or the raw
{total, orders[]} payload with response_format="json" (which also carries
clientAlgoId).
Examples: params = {} params = {"response_format": "json"}
Error Handling:
An empty list is a valid answer: nothing is working. -2015 means the key lacks Reading
permission or this IP is not allowlisted. /sapi does not exist on the spot testnet —
a 404 there is expected, not a bug.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |