My open orders (limit, TP, SL, DCA)
get_my_ordersThe user's open and past limit, take-profit, stop-loss orders and DCA schedules. Live orders by default: check before placing one (no duplicates) and to find an order_id for cancel_order. History: status="terminal" (with since / until), paged by limit / page. Filled rows carry filled_price, fill_tx_hash, slippage_vs_trigger_pct; cancelled rows cancel_reason (sibling_filled = the other exit sold the position). input_* is what the user SPENDS and token_* the subject token: name an order by token_symbol. A row with data_warning contradicts itself: call its state unclear. origin: agent = yours; agent_auto_exit = an older Moby-attached exit, still live. DCA rows: schedule_id (what cancel_order takes), progress filled_order_count / order_count. Trailing stops: trail_pct and trailing (live high and sell level). get_my_orders answers 'what is running' in ONE call: orders (limit, TP, SL) plus dca_schedules (one row per DCA; slices never appear in orders). get_my_dca_schedules is the DCA rows alone. A null dca_schedules means the DCA read failed (dca_schedules_error): call get_my_dca_schedules before saying there is none.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_my_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | History only: 1-based page number. | |
| limit | No | History only: rows per page, newest first (max 200). | |
| since | No | ISO 8601 time, e.g. `2026-10-23T00:00:00Z`. Only orders whose last state change (fill, else cancel/update) is at or after this. | |
| until | No | ISO 8601 upper bound, same clock as `since`. | |
| status | No | Omit for LIVE orders only. `terminal` = every finished order (filled, cancelled, expired, failed) — the history; `all` = live and finished; or one status / a list of statuses. A resting, unfilled order is `active` — there is no `open` and no `pending`. | |
| token_address | No | Contract address: only orders on this token, whether it is the token being sold (TP/SL) or bought (limit buy). Omit for every token. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||