Stream orders
Order lifecycle frames for the caller’s own orders.
/wsAuthorization
UDX-Access-KeyAPI key · headerrequiredOpaque API key ID.
UDX-Access-TimestampAPI key · headerrequiredUnix time in milliseconds, within 30 seconds of server time.
UDX-Access-SignatureAPI key · headerrequiredStandard-base64 RSA-PSS/SHA-256 signature with a 32-byte salt. Sign timestamp + "GET" + "/ws"; the upgrade request has no body hash and no idempotency key.
order_restingDeliver one of the caller's orders resting in the book.
typestringrequiredIdentifies an order that is resting.
sidSubscriptionIdrequiredExchange-assigned subscription ID whose lifetime is this WebSocket connection.
seqSequenceNumberrequiredGap-detection sequence local to one subscription. It starts at 1 and increments once per frame on that subscription.
msgOrderrequiredAn order.
Show propertiesHide properties
order_idEntityIdrequiredAn exchange-assigned identifier. Treat it as an opaque, stable key with no internal structure.
client_order_idClientIdA client-supplied correlation identifier.
account_idstringrequiredThe account the order was placed under.
tickerTickerrequiredA human-meaningful natural key naming a single-leg or multi-leg market.
sideOrderSiderequiredOrder side.
buysellquantityFixedPointQuantityrequiredA quantity in contracts as a fixed-point decimal string.
pricestringrequiredLimit price in YES price space, in dollars, regardless of side.
time_in_forceOrderTimeInForcerequiredOrder time in force.
gtciocfokdaygttunknownexpires_atstring<date-time>When the order expires. Present only when time_in_force is gtt.
statusOrderStatusrequiredAn order's status.
restingpartially_filledfilledcanceledexpiredrejectedrejection_reasonstringWhy the exchange rejected the order. Present only when status is rejected.
duplicate_client_order_idself_trade_preventedmarket_closedinsufficient_fundsprice_out_of_boundsquantity_out_of_boundspost_only_would_crossno_liquidityquote_unavailablequote_terms_mismatchquote_already_acceptedrate_limitedexpires_at_invalidexchange_rejectedfilled_quantitystringrequiredThe quantity of the order that has been filled.
remaining_quantitystringrequiredThe quantity of the order that is currently resting.
average_fill_pricestringVolume-weighted average fill price. Present when filled_quantity > 0.
fees_paidstringrequiredTotal fees collected on the order so far, in dollars.
created_atstring<date-time>requiredWhen the order was created.
order_partially_filledDeliver one of the caller's orders that filled in part.
typestringrequiredIdentifies an order that partially filled.
sidSubscriptionIdrequiredExchange-assigned subscription ID whose lifetime is this WebSocket connection.
seqSequenceNumberrequiredGap-detection sequence local to one subscription. It starts at 1 and increments once per frame on that subscription.
msgOrderrequiredAn order.
Show propertiesHide properties
order_idEntityIdrequiredAn exchange-assigned identifier. Treat it as an opaque, stable key with no internal structure.
client_order_idClientIdA client-supplied correlation identifier.
account_idstringrequiredThe account the order was placed under.
tickerTickerrequiredA human-meaningful natural key naming a single-leg or multi-leg market.
sideOrderSiderequiredOrder side.
buysellquantityFixedPointQuantityrequiredA quantity in contracts as a fixed-point decimal string.
pricestringrequiredLimit price in YES price space, in dollars, regardless of side.
time_in_forceOrderTimeInForcerequiredOrder time in force.
gtciocfokdaygttunknownexpires_atstring<date-time>When the order expires. Present only when time_in_force is gtt.
statusOrderStatusrequiredAn order's status.
restingpartially_filledfilledcanceledexpiredrejectedrejection_reasonstringWhy the exchange rejected the order. Present only when status is rejected.
duplicate_client_order_idself_trade_preventedmarket_closedinsufficient_fundsprice_out_of_boundsquantity_out_of_boundspost_only_would_crossno_liquidityquote_unavailablequote_terms_mismatchquote_already_acceptedrate_limitedexpires_at_invalidexchange_rejectedfilled_quantitystringrequiredThe quantity of the order that has been filled.
remaining_quantitystringrequiredThe quantity of the order that is currently resting.
average_fill_pricestringVolume-weighted average fill price. Present when filled_quantity > 0.
fees_paidstringrequiredTotal fees collected on the order so far, in dollars.
created_atstring<date-time>requiredWhen the order was created.
order_filledDeliver one of the caller's orders that filled completely.
typestringrequiredIdentifies an order that filled.
sidSubscriptionIdrequiredExchange-assigned subscription ID whose lifetime is this WebSocket connection.
seqSequenceNumberrequiredGap-detection sequence local to one subscription. It starts at 1 and increments once per frame on that subscription.
msgOrderrequiredAn order.
Show propertiesHide properties
order_idEntityIdrequiredAn exchange-assigned identifier. Treat it as an opaque, stable key with no internal structure.
client_order_idClientIdA client-supplied correlation identifier.
account_idstringrequiredThe account the order was placed under.
tickerTickerrequiredA human-meaningful natural key naming a single-leg or multi-leg market.
sideOrderSiderequiredOrder side.
buysellquantityFixedPointQuantityrequiredA quantity in contracts as a fixed-point decimal string.
pricestringrequiredLimit price in YES price space, in dollars, regardless of side.
time_in_forceOrderTimeInForcerequiredOrder time in force.
gtciocfokdaygttunknownexpires_atstring<date-time>When the order expires. Present only when time_in_force is gtt.
statusOrderStatusrequiredAn order's status.
restingpartially_filledfilledcanceledexpiredrejectedrejection_reasonstringWhy the exchange rejected the order. Present only when status is rejected.
duplicate_client_order_idself_trade_preventedmarket_closedinsufficient_fundsprice_out_of_boundsquantity_out_of_boundspost_only_would_crossno_liquidityquote_unavailablequote_terms_mismatchquote_already_acceptedrate_limitedexpires_at_invalidexchange_rejectedfilled_quantitystringrequiredThe quantity of the order that has been filled.
remaining_quantitystringrequiredThe quantity of the order that is currently resting.
average_fill_pricestringVolume-weighted average fill price. Present when filled_quantity > 0.
fees_paidstringrequiredTotal fees collected on the order so far, in dollars.
created_atstring<date-time>requiredWhen the order was created.
order_canceledDeliver one of the caller's orders that was canceled.
typestringrequiredIdentifies an order that was canceled.
sidSubscriptionIdrequiredExchange-assigned subscription ID whose lifetime is this WebSocket connection.
seqSequenceNumberrequiredGap-detection sequence local to one subscription. It starts at 1 and increments once per frame on that subscription.
msgOrderrequiredAn order.
Show propertiesHide properties
order_idEntityIdrequiredAn exchange-assigned identifier. Treat it as an opaque, stable key with no internal structure.
client_order_idClientIdA client-supplied correlation identifier.
account_idstringrequiredThe account the order was placed under.
tickerTickerrequiredA human-meaningful natural key naming a single-leg or multi-leg market.
sideOrderSiderequiredOrder side.
buysellquantityFixedPointQuantityrequiredA quantity in contracts as a fixed-point decimal string.
pricestringrequiredLimit price in YES price space, in dollars, regardless of side.
time_in_forceOrderTimeInForcerequiredOrder time in force.
gtciocfokdaygttunknownexpires_atstring<date-time>When the order expires. Present only when time_in_force is gtt.
statusOrderStatusrequiredAn order's status.
restingpartially_filledfilledcanceledexpiredrejectedrejection_reasonstringWhy the exchange rejected the order. Present only when status is rejected.
duplicate_client_order_idself_trade_preventedmarket_closedinsufficient_fundsprice_out_of_boundsquantity_out_of_boundspost_only_would_crossno_liquidityquote_unavailablequote_terms_mismatchquote_already_acceptedrate_limitedexpires_at_invalidexchange_rejectedfilled_quantitystringrequiredThe quantity of the order that has been filled.
remaining_quantitystringrequiredThe quantity of the order that is currently resting.
average_fill_pricestringVolume-weighted average fill price. Present when filled_quantity > 0.
fees_paidstringrequiredTotal fees collected on the order so far, in dollars.
created_atstring<date-time>requiredWhen the order was created.
order_expiredDeliver one of the caller's orders that expired.
typestringrequiredIdentifies an order that expired.
sidSubscriptionIdrequiredExchange-assigned subscription ID whose lifetime is this WebSocket connection.
seqSequenceNumberrequiredGap-detection sequence local to one subscription. It starts at 1 and increments once per frame on that subscription.
msgOrderrequiredAn order.
Show propertiesHide properties
order_idEntityIdrequiredAn exchange-assigned identifier. Treat it as an opaque, stable key with no internal structure.
client_order_idClientIdA client-supplied correlation identifier.
account_idstringrequiredThe account the order was placed under.
tickerTickerrequiredA human-meaningful natural key naming a single-leg or multi-leg market.
sideOrderSiderequiredOrder side.
buysellquantityFixedPointQuantityrequiredA quantity in contracts as a fixed-point decimal string.
pricestringrequiredLimit price in YES price space, in dollars, regardless of side.
time_in_forceOrderTimeInForcerequiredOrder time in force.
gtciocfokdaygttunknownexpires_atstring<date-time>When the order expires. Present only when time_in_force is gtt.
statusOrderStatusrequiredAn order's status.
restingpartially_filledfilledcanceledexpiredrejectedrejection_reasonstringWhy the exchange rejected the order. Present only when status is rejected.
duplicate_client_order_idself_trade_preventedmarket_closedinsufficient_fundsprice_out_of_boundsquantity_out_of_boundspost_only_would_crossno_liquidityquote_unavailablequote_terms_mismatchquote_already_acceptedrate_limitedexpires_at_invalidexchange_rejectedfilled_quantitystringrequiredThe quantity of the order that has been filled.
remaining_quantitystringrequiredThe quantity of the order that is currently resting.
average_fill_pricestringVolume-weighted average fill price. Present when filled_quantity > 0.
fees_paidstringrequiredTotal fees collected on the order so far, in dollars.
created_atstring<date-time>requiredWhen the order was created.
order_rejectedDeliver one of the caller's orders that the exchange rejected.
typestringrequiredIdentifies an order that was rejected.
sidSubscriptionIdrequiredExchange-assigned subscription ID whose lifetime is this WebSocket connection.
seqSequenceNumberrequiredGap-detection sequence local to one subscription. It starts at 1 and increments once per frame on that subscription.
msgOrderrequiredAn order.
Show propertiesHide properties
order_idEntityIdrequiredAn exchange-assigned identifier. Treat it as an opaque, stable key with no internal structure.
client_order_idClientIdA client-supplied correlation identifier.
account_idstringrequiredThe account the order was placed under.
tickerTickerrequiredA human-meaningful natural key naming a single-leg or multi-leg market.
sideOrderSiderequiredOrder side.
buysellquantityFixedPointQuantityrequiredA quantity in contracts as a fixed-point decimal string.
pricestringrequiredLimit price in YES price space, in dollars, regardless of side.
time_in_forceOrderTimeInForcerequiredOrder time in force.
gtciocfokdaygttunknownexpires_atstring<date-time>When the order expires. Present only when time_in_force is gtt.
statusOrderStatusrequiredAn order's status.
restingpartially_filledfilledcanceledexpiredrejectedrejection_reasonstringWhy the exchange rejected the order. Present only when status is rejected.
duplicate_client_order_idself_trade_preventedmarket_closedinsufficient_fundsprice_out_of_boundsquantity_out_of_boundspost_only_would_crossno_liquidityquote_unavailablequote_terms_mismatchquote_already_acceptedrate_limitedexpires_at_invalidexchange_rejectedfilled_quantitystringrequiredThe quantity of the order that has been filled.
remaining_quantitystringrequiredThe quantity of the order that is currently resting.
average_fill_pricestringVolume-weighted average fill price. Present when filled_quantity > 0.
fees_paidstringrequiredTotal fees collected on the order so far, in dollars.
created_atstring<date-time>requiredWhen the order was created.
channel_unavailableThe channel's upstream source cannot serve the operation right now. Retry with backoff; the connection stays usable.
codestringrequiredStable machine-readable error code.
detailErrorDetailrequiredHuman-readable occurrence detail that clients must not parse.
instanceErrorInstancerequiredRequest identifier for troubleshooting with exchange support.
internal_errorAn unexpected failure left connection state safe to continue.
codestringrequiredStable machine-readable error code.
detailErrorDetailrequiredHuman-readable occurrence detail that clients must not parse.
instanceErrorInstancerequiredRequest identifier for troubleshooting with exchange support.
Channel Bindings
wsmethodGETheadersUDX-Access-KeystringrequiredOpaque API key ID.
UDX-Access-TimestampstringrequiredUnix time in milliseconds, within 30 seconds of server time.
UDX-Access-SignaturestringrequiredStandard-base64 RSA-PSS/SHA-256 signature with a 32-byte salt. Sign timestamp + "GET" + "/ws"; the upgrade request has no body hash and no idempotency key.
Sec-WebSocket-ProtocolstringrequiredNegotiated dated WebSocket API version.
order_resting
{
"type": "order_resting",
"sid": 13,
"seq": 2,
"msg": {
"order_id": "ORD-EXAMPLE-1",
"client_order_id": "my-order-1",
"account_id": "ACC-EXAMPLE-1",
"ticker": "UDX-EXAMPLE-MARKET-A",
"side": "buy",
"quantity": "100",
"price": "0.55",
"time_in_force": "gtc",
"status": "resting",
"filled_quantity": "0",
"remaining_quantity": "100",
"fees_paid": "0.00",
"created_at": "2026-01-01T00:00:00.000000Z"
}
}order_partially_filled
{
"type": "order_partially_filled",
"sid": 13,
"seq": 3,
"msg": {
"order_id": "ORD-EXAMPLE-1",
"client_order_id": "my-order-1",
"account_id": "ACC-EXAMPLE-1",
"ticker": "UDX-EXAMPLE-MARKET-A",
"side": "buy",
"quantity": "100",
"price": "0.55",
"time_in_force": "gtc",
"status": "partially_filled",
"filled_quantity": "40",
"remaining_quantity": "60",
"average_fill_price": "0.55",
"fees_paid": "0.02",
"created_at": "2026-01-01T00:00:00.000000Z"
}
}order_filled
{
"type": "order_filled",
"sid": 13,
"seq": 4,
"msg": {
"order_id": "ORD-EXAMPLE-1",
"client_order_id": "my-order-1",
"account_id": "ACC-EXAMPLE-1",
"ticker": "UDX-EXAMPLE-MARKET-A",
"side": "buy",
"quantity": "100",
"price": "0.55",
"time_in_force": "gtc",
"status": "filled",
"filled_quantity": "100",
"remaining_quantity": "0",
"average_fill_price": "0.55",
"fees_paid": "0.05",
"created_at": "2026-01-01T00:00:00.000000Z"
}
}order_canceled
{
"type": "order_canceled",
"sid": 13,
"seq": 5,
"msg": {
"order_id": "ORD-EXAMPLE-1",
"client_order_id": "my-order-1",
"account_id": "ACC-EXAMPLE-1",
"ticker": "UDX-EXAMPLE-MARKET-A",
"side": "buy",
"quantity": "100",
"price": "0.55",
"time_in_force": "gtc",
"status": "canceled",
"filled_quantity": "0",
"remaining_quantity": "0",
"fees_paid": "0.00",
"created_at": "2026-01-01T00:00:00.000000Z"
}
}order_expired
{
"type": "order_expired",
"sid": 13,
"seq": 6,
"msg": {
"order_id": "ORD-EXAMPLE-1",
"client_order_id": "my-order-1",
"account_id": "ACC-EXAMPLE-1",
"ticker": "UDX-EXAMPLE-MARKET-A",
"side": "buy",
"quantity": "100",
"price": "0.55",
"time_in_force": "day",
"status": "expired",
"filled_quantity": "0",
"remaining_quantity": "0",
"fees_paid": "0.00",
"created_at": "2026-01-01T00:00:00.000000Z"
}
}order_rejected
{
"type": "order_rejected",
"sid": 13,
"seq": 7,
"msg": {
"order_id": "ORD-EXAMPLE-1",
"client_order_id": "my-order-1",
"account_id": "ACC-EXAMPLE-1",
"ticker": "UDX-EXAMPLE-MARKET-A",
"side": "buy",
"quantity": "100",
"price": "0.55",
"time_in_force": "gtc",
"status": "rejected",
"rejection_reason": "self_trade_prevented",
"filled_quantity": "0",
"remaining_quantity": "0",
"fees_paid": "0.00",
"created_at": "2026-01-01T00:00:00.000000Z"
}
}channel_unavailable
{
"type": "error",
"sid": 7,
"msg": {
"code": "channel_unavailable",
"detail": "current market data is unavailable for this subscription",
"instance": "urn:request-id:4ecbe594-50fa-4b7a-950f-5ed74bb8372d"
}
}internal_error
{
"type": "error",
"sid": 7,
"msg": {
"code": "internal_error",
"detail": "the subscription could not be continued",
"instance": "urn:request-id:4ecbe594-50fa-4b7a-950f-5ed74bb8372d"
}
}