Get trigger events
GET/triggers
Lists trigger events for authenticated account.
Request
Query Parameters
asc
= chronologicaldesc
= reverse-chronological
Timestamp in milliseconds.
Timestamp in milliseconds.
Possible values: [asc
, desc
]
Default value: desc
Determines the order of events in response(s).
Opaque token from the Next-Continuation-Token
header used to continue listing events. The
sort
parameter must be the same as in the previous request to continue listing in the same
direction.
Possible values: >= 1
The maximum number of results to return. The upper bound is determined by a global limit.
If present events of other tradeables are filtered out.
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- ]
elements object[]required
event object required
OrderTriggerPlaced objectrequired
order objectrequired
Possible values: [Buy
, Sell
]
triggerOptions objectrequired
Possible values: [MarkPrice
, LastPrice
, SpotPrice
]
Possible values: [Above
, Below
]
trailingStopOptions objectrequired
Possible values: [Percent
, QuoteCurrency
]
limitPriceOffset objectrequired
Possible values: [Percent
, QuoteCurrency
]
OrderTriggerCancelled objectrequired
order objectrequired
Possible values: [Buy
, Sell
]
triggerOptions objectrequired
Possible values: [MarkPrice
, LastPrice
, SpotPrice
]
Possible values: [Above
, Below
]
trailingStopOptions objectrequired
Possible values: [Percent
, QuoteCurrency
]
limitPriceOffset objectrequired
Possible values: [Percent
, QuoteCurrency
]
OrderTriggerUpdated objectrequired
oldOrderTrigger objectrequired
Possible values: [Buy
, Sell
]
triggerOptions objectrequired
Possible values: [MarkPrice
, LastPrice
, SpotPrice
]
Possible values: [Above
, Below
]
trailingStopOptions objectrequired
Possible values: [Percent
, QuoteCurrency
]
limitPriceOffset objectrequired
Possible values: [Percent
, QuoteCurrency
]
newOrderTrigger objectrequired
Possible values: [Buy
, Sell
]
triggerOptions objectrequired
Possible values: [MarkPrice
, LastPrice
, SpotPrice
]
Possible values: [Above
, Below
]
trailingStopOptions objectrequired
Possible values: [Percent
, QuoteCurrency
]
limitPriceOffset objectrequired
Possible values: [Percent
, QuoteCurrency
]
OrderTriggerActivated objectrequired
order objectrequired
Possible values: [Buy
, Sell
]
triggerOptions objectrequired
Possible values: [MarkPrice
, LastPrice
, SpotPrice
]
Possible values: [Above
, Below
]
trailingStopOptions objectrequired
Possible values: [Percent
, QuoteCurrency
]
limitPriceOffset objectrequired
Possible values: [Percent
, QuoteCurrency
]
OrderTriggerEditRejected objectrequired
attemptedOrderTrigger objectrequired
Possible values: [Buy
, Sell
]
triggerOptions objectrequired
Possible values: [MarkPrice
, LastPrice
, SpotPrice
]
Possible values: [Above
, Below
]
trailingStopOptions objectrequired
Possible values: [Percent
, QuoteCurrency
]
limitPriceOffset objectrequired
Possible values: [Percent
, QuoteCurrency
]
oldOrderTrigger objectrequired
Possible values: [Buy
, Sell
]
triggerOptions objectrequired
Possible values: [MarkPrice
, LastPrice
, SpotPrice
]
Possible values: [Above
, Below
]
trailingStopOptions objectrequired
Possible values: [Percent
, QuoteCurrency
]
limitPriceOffset objectrequired
Possible values: [Percent
, QuoteCurrency
]
Opaque token to pass to the next request to continue listing events. The sort
parameter
must be the same as in the previous request to continue listing in the same direction.
{
"accountUid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"len": 0,
"serverTime": "2024-07-29T15:51:28.071Z",
"elements": [
{
"uid": "string",
"timestamp": 1604937694000,
"event": {}
}
],
"continuationToken": "string"
}