Order

Date 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.

get/v4/mm/get_order_history

Request

  • Base URL
    https://cash.api.prophetx.co/partner
  • URL
    https://cash.api.prophetx.co/partner/v4/mm/get_order_history
  • Auth
    API key in header Authorization

Query parameters

next_cursorstring

cursor paging use for fetch next page

tointeger

Order creation time upper bound (Unix seconds). Optional; defaults to now

frominteger

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

updated_at_tointeger

Order update time upper bound (Unix seconds). Optional; defaults to now

updated_at_frominteger

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

limitinteger

Page size. Default is 20, max is 1000 — use 1000 for backfills so a 60-day window is usually a single request

market_idstring

filter on market_id

matching_status'unmatched' | 'fully_matched' | 'partially_matched'

filter on matching_status

status'void' | 'closed' | 'canceled' | 'manually_settled' | 'inactive' | 'wiped' | 'open' | 'invalid' | 'settled'

filter on status

event_idstring

filter on event_id

Response

OK

last_synced_atstring

Changes

    • warning

      removed the optional property /// from the response with the status

    • info

      api tag Order added

    • info

      api tag order removed

    • info

      added the new optional query request parameter updated_at_from

    • info

      added the new optional query request parameter updated_at_to

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status