Skip to main content
Order history filtered by closed status (FILLED / CANCELLED / REJECTED). Spans live and archive tables — windows that cross the 92-day archive cutoff are queried across both. Includes both ordinary and algo orders (algo rows include trigger_price / trigger_status). Weight: 5

Request

Response

Notes

  • Status mapping: FILLED → [3], CANCELLED → [5], REJECTED → [6]; omitting status queries all three
  • Default window is UTC-day-snapped now − 24h — pass an explicit start_time for longer lookbacks
  • Archive cutoff is 92 days. Queries spanning that boundary transparently combine live and archived orders
  • Sort: (created_time DESC, order_id DESC)