Order history
Changed onDate range filter. At least one of the following date ranges is required: from/to for the order creation time, or updated_at_from/updated_at_to for the order update time. For each date range, either the from or to parameter can be provided, or both.
Request
- Base URLhttps://cash.api.prophetx.co/partner
- URLhttps://cash.api.prophetx.co/partner/v4/mm/get_order_history
- AuthAPI key in header Authorization
Query parameters
cursor paging use for fetch next page
Order creation time upper bound (Unix seconds). Optional; defaults to now
Order creation time lower bound (Unix seconds). Required if to is set. from/to may span at most 60 days; omit to to mean now. Step from back 60 days at a time to walk older history
Order update time upper bound (Unix seconds). Optional; defaults to now
Order update time lower bound (Unix seconds). updated_at_from/updated_at_to may span at most 2 days — use it for incremental refresh (fills, cancels, settlements), not backfill
Page size. Default is 20, max is 1000 — use 1000 for backfills so a 60-day window is usually a single request
filter on market_id
filter on matching_status
filter on status
filter on event_id
Response
OK
Changes
- warning
removed the optional property
///from the response with the status - info
api tag
Orderadded - info
api tag
orderremoved - info
added the new optional
queryrequest parameterupdated_at_from - info
added the new optional
queryrequest parameterupdated_at_to - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status
- warning