Skip to main content

Get trigger events

GET 

/triggers

Lists trigger events for authenticated account.

Request

Query Parameters

    since timestamp-milliseconds

    Timestamp in milliseconds.

    before timestamp-milliseconds

    Timestamp in milliseconds.

    sort string

    Possible values: [asc, desc]

    Default value: desc

    Determines the order of events in response(s).

    • asc = chronological
    • desc = reverse-chronological
    continuation_token base64

    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.

    count int64

    Possible values: >= 1

    The maximum number of results to return. The upper bound is determined by a global limit.

    tradeable string

    If present events of other tradeables are filtered out.

Responses

Schema
    accountUid uuidrequired
    len uint64required
    serverTime date-time
    elements object[]required
  • Array [
  • uid stringrequired
    timestamp timestamp-millisecondsrequired
    event object required
    oneOf
    OrderTriggerPlaced objectrequired
    order objectrequired
    uid uuidrequired
    accountId uint64required
    accountUid uuidrequired
    tradeable stringrequired
    direction stringrequired

    Possible values: [Buy, Sell]

    quantity big-decimalrequired
    timestamp timestamp-millisecondsrequired
    limitPrice big-decimalrequired
    orderType stringrequired
    clientId stringrequired
    reduceOnly booleanrequired
    lastUpdateTimestamp timestamp-millisecondsrequired
    triggerOptions objectrequired
    triggerPrice big-decimalrequired
    triggerSignal stringrequired

    Possible values: [MarkPrice, LastPrice, SpotPrice]

    triggerSide stringrequired

    Possible values: [Above, Below]

    trailingStopOptions objectrequired
    maxDeviation big-decimalrequired
    unit stringrequired

    Possible values: [Percent, QuoteCurrency]

    limitPriceOffset objectrequired
    priceOffset big-decimalrequired
    unit stringrequired

    Possible values: [Percent, QuoteCurrency]

    reason stringrequired
  • ]
  • continuationToken base64

    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.

Loading...