Get Smart Orders History
get_smart_orders_historyRetrieve historical triggered or canceled smart orders from Poloniex. Filter by trading pair, side, order type, state, and time range to analyze past order activity.
Instructions
Fetch historical (triggered/canceled) smart orders with optional filters. Requires POLONIEX_API_KEY and POLONIEX_API_SECRET in the environment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Order id to start the query from (default 0). | |
| side | No | Filter by side. | |
| type | No | Filter by order type (default all). | |
| limit | No | Max number of records to return (default 100). | |
| states | No | Comma-separated states, e.g. FILLED,CANCELED (FAILED, FILLED, CANCELED, PARTIALLY_CANCELED). | |
| symbol | No | Filter by trading pair, e.g. "BTC_USDT". Omit for all. | |
| endTime | No | End time in epoch milliseconds. | |
| direction | No | Pagination direction relative to `from` (default NEXT). | |
| startTime | No | Start time in epoch milliseconds. | |
| hideCancel | No | Exclude canceled orders from the result. | |
| accountType | No | Account type; "SPOT" is the default and only supported value. |