Get Order History

Returns the history of orders for an account. Provides detailed information for each order update, listed in reverse chronological order starting with the most recent.

Detailed information about the values for cancel_reason and event_type can be found here.

Fill Events

When the event_type is fill, the response includes the following field:

  • is_maker: The role associated with the fill event, true or false.

Cancel Events

When the event_type is cancel, the response includes the following field:

  • cancel_reason: The reason for the cancellation.

Modify Operations

In the event of a modification:

  • A cancel event is recorded with a cancel_reason of cancel_for_modify. This event will also include a new_order_id field containing the order_id of the new order.
  • A new event is then created, containing an old_order_id field that corresponds to the order_id of the canceled order.
Language
Click Try It! to start a request and see the response here!