Skip to main content

Get Specific Orders' Status

POST 

/orders/status

Returns information on specified orders which are open or were filled/cancelled in the last 5 seconds.

Request

Body

required
    orderIds uuid[]

    UIDs associated with orders or triggers.

    cliOrdIds string[]

    Client Order IDs associated with orders or triggers.

Responses

Schema
    oneOf
    orders object[]
  • Array [
  • order object
    type string

    Possible values: [TRIGGER_ORDER, ORDER]

    orderId uuid
    cliOrdId stringnull
    symbol string
    side string
    quantity numbernull
    filled numbernull
    limitPrice numbernull
    reduceOnly boolean
    timestamp string
    lastUpdateTimestamp string
    priceTriggerOptions object
    oneOf
    triggerPrice number
    triggerSide string

    Possible values: [TRIGGER_ABOVE, TRIGGER_BELOW]

    triggerSignal string

    Possible values: [MARK_PRICE, LAST_PRICE, SPOT_PRICE]

    triggerTime stringnull
    status OrderStatusJson (string)

    Possible values: [ENTERED_BOOK, FULLY_EXECUTED, REJECTED, CANCELLED, TRIGGER_PLACED, TRIGGER_ACTIVATION_FAILURE]

    updateReason object
    oneOf

    string

    Possible values: [LOADING_MARKET, NEW_USER_ORDER, LIQUIDATION_ORDER, STOP_ORDER_TRIGGERED, LIMIT_FROM_STOP, PARTIAL_FILL, FULL_FILL, CANCELLED_BY_USER, CONTRACT_EXPIRED, NOT_ENOUGH_MARGIN, MARKET_INACTIVE, DEAD_MAN_SWITCH, CANCELLED_BY_ADMIN, POST_WOULD_EXECUTE_REASON, IOC_WOULD_NOT_EXECUTE_REASON, WOULD_EXECUTE_SELF_REASON, WOULD_NOT_REDUCE_POSITION, EDITED_BY_USER, ORDER_FOR_EDIT_NOT_FOUND_REASON, EXPIRED, TRAILING_STOP_PRICE_UPDATED, TRAILING_STOP_CANCELLED_AND_REPLACED_BY_ADMIN]

    error object
    oneOf

    string

    Possible values: [MARKET_SUSPENDED, MARKET_NOT_FOUND, INVALID_PRICE, INVALID_QUANTITY, SMALL_ORDER_LIMIT_EXCEEDED, INSUFFICIENT_MARGIN, WOULD_CAUSE_LIQUIDATION, CLIENT_ORDER_ID_IN_USE, CLIENT_ORDER_ID_TOO_LONG, MAX_POSITION_EXCEEDED, PRICE_COLLAR, PRICE_DISLOCATION, EDIT_HAS_NO_EFFECT, ORDER_FOR_CANCELLATION_NOT_FOUND, ORDER_FOR_EDIT_NOT_FOUND, ORDER_CANNOT_HAVE_TRIGGER_PRICE, POST_WOULD_EXECUTE, IOC_WOULD_NOT_EXECUTE, WOULD_EXECUTE_SELF, WOULD_NOT_REDUCE_POSITION, REJECTED_AFTER_EXECUTION, MARKET_IS_POST_ONLY, ORDER_LIMIT_EXCEEDED, FIXED_LEVERAGE_TOO_HIGH, CANNOT_EDIT_TRIGGER_PRICE_OF_TRAILING_STOP, CANNOT_EDIT_LIMIT_PRICE_OF_TRAILING_STOP, TRAILING_STOP_ORDER_LIMIT_EXCEEDED, TRAILING_STOP_PERCENT_DEVIATION_EXCEEDS_MAX_DECIMAL_PLACES, TRAILING_STOP_QUOTE_DEVIATION_NOT_MULTIPLE_OF_TICK_SIZE, TRAILING_STOP_MAX_DEVIATION_TOO_LARGE, TRAILING_STOP_MAX_DEVIATION_TOO_SMALL, INSUFFICIENT_HEADROOM_AROUND_CURRENT_PRICE_TO_EDIT_TRAILING_STOP, NO_REFERENCE_PRICE_AVAILABLE_FOR_CALCULATING_TRAILING_STOP_TRIGGER_PRICE, INSUFFICIENT_CLOSING_MARGIN, LIMIT_PRICE_SET_AS_ABSOLUTE_AND_RELATIVE, LIMIT_PRICE_OFFSET_VALUE_INVALID, LIMIT_PRICE_OFFSET_UNIT_INVALID, LIMIT_PRICE_OFFSET_MUST_HAVE_VALUE_AND_UNIT, LIMIT_PRICE_OFFSET_QUOTE_CURRENCY_VALUE_MUST_BE_MULTIPLE_OF_TICK_SIZE, LIMIT_PRICE_OFFSET_PERCENT_VALUE_TOO_MANY_DECIMAL_PLACES, LIMIT_PRICE_OFFSET_TOO_HIGH, LIMIT_PRICE_OFFSET_TOO_LOW]

  • ]
  • result stringrequired

    Possible values: [success]

    serverTime date-timerequired

    Server time in Coordinated Universal Time (UTC)

Loading...