WebSocket›Trade WebSocket
Establish a WebSocket connection for order updates and order write operations.
Opening the connection requires an access token with the trade_view scope. Placing or
canceling orders requires trade_trade on that same token.
Subscribe to live status updates for your orders, including individual fills.
You can also send place_order and cancel_order messages on an established
WebSocket connection (see those operations). Subscribe to the orders channel to receive
full lifecycle updates after placement or cancellation.
Correlation: Supply a unique reqId on each place_order or cancel_order to match
the corresponding *_response. Use reqId only for response correlation — not for
idempotency or order lookup (clientOrderId / orderId serve those roles).
Message ordering: place_order_response, cancel_order_response, and orders
channel updates may arrive out of order on the same connection.
Connection behavior
- Heartbeat — the server sends a WebSocket ping about every 54 seconds and expects a pong within 60 seconds; standard clients respond automatically.
- Reconnect — a disconnect clears all subscriptions; after reconnecting you must subscribe again.
Connection
wss://app.bitgo-test.com/api/prime/trading/v1/ws
Channel orders
Authorization: Bearer {token} on the connection upgrade request. The token must have the trade_view scope (and trade_trade if you will send place_order / cancel_order messages on this connection). If the token is missing or invalid the upgrade is refused with HTTP 403 and no socket is opened. Authorization or permission failures that happen after the socket is open — for example subscribing to an account you do not have access to — come back as WebSocket error messages (the socket stays open), not as HTTP 403.Messages sent
Subscribe / Unsubscribe
object
-
typestring enum requiredThe event type ("subscribe" or "unsubscribe")subscribeunsubscribe -
channelstring enum requiredThe subscription channel for order events ("orders")orders -
accountIdstring requiredThe ID of the account
Messages received
Order event
ONE OF
-
channelstringThe channel you are subscribed to. -
timestring date-time -
creationDatestring date-time -
completionDatestring date-time -
settleDatestring date-time -
scheduledDatestring date-timeDate to schedule the order. If not provided, the order will be placed immediately. -
lastFillDatestring date-time -
accountIdstringThe ID of the account -
clientOrderIdstringClient-supplied identifier for a single logical order. Must be unique among concurrent open orders in your account. Reuse the sameclientOrderIdwhen retrying aplace_orderafter a lost or ambiguous acknowledgement — the server treats a duplicate placement with the sameclientOrderIdas an idempotent retry (unlike REST, which returns 409). Do not reuse aclientOrderIdfor a different order.up to 256 characters
-
orderIdstringThe ID of the order. -
productstringProduct name. -
fundingTypestring enumThe funding type of the order.
- Funded orders will be placed using the Go account balance.
- Margin orders will be placed using the margin account balances. See our Trade Guide for more details on each funding type.
Defaults to
fundedmarginfunded -
statusstring enumpending_openopencompletedpending_cancelcancelederrorscheduled -
execTypestringThe type of update, using FIX 4.4 ExecType (tag 150) values. Use this field to distinguish order status updates from fill events.
F(Trade) — a fill occurred; checktradeId,fillQuantity,fillPricefor fill details0(New) — order accepted by the exchangeA(Pending New) — order submitted, awaiting acceptance6(Pending Cancel) — cancel request sent4(Canceled) — order canceled8(Rejected) — order rejected or internal failureI(Order Status) — terminal status summary (e.g. completed)
-
typestring enumThe type of order to be placed. See our Trade Guide for more details on each order type.markettwaplimitsteady_pacestop -
sidestring enumbuysell -
quantitystring decimalThe specified quantity. -
quantityCurrencystringThe specified quantity currency. -
cumulativeQuantitystring decimalThe total base quantity filled for the order. -
cumulativeQuoteQuantitystring decimalThe total quote quantity filled for the order. -
leavesQuantitystring decimalFor orders created with base currency, this field is set to the remaining unfilled base quantity.
- Only one of leavesQuantity or leavesQuoteQuantity will be set.
- This field is set to null for orders created with quote currency.
-
leavesQuoteQuantitystring decimalFor orders created with quote currency, this field is set to the remaining unfilled quote quantity.
- Only one of leavesQuantity or leavesQuoteQuantity will be set.
- This field is set to null for orders created with base currency.
-
averagePricestring decimalThe average price for the order's fills. -
tradeIdstringThe ID of the trade. -
fillQuantitystring decimalThe quantity of the fill for the trade. -
fillPricestring decimalThe price of the fill for the trade. -
sourcestringThe originating channel for the order.
api_fix— order placed via FIX 4.4 sessionapi_rest— order placed via REST APIapi_websocket— order placed via WebSocket API
-
triggerPricestring decimal nullableStop/trigger price for stop and stop-limit orders. Null for other order types. -
limitPricestring decimal nullableLimit price for limit, TWAP-with-limit, and SteadyPace-with-limit orders. Null when not set. -
timeInForcestring nullableTime-in-force (1GTC,3IOC,4FOK,6GTD). Null when not set. -
durationinteger nullableOrder duration in seconds for TWAP and SteadyPace orders. Null for other order types. -
twapIntervalinteger nullableTWAP slice interval in minutes whenisTimeSlicedis true. Null for non-TWAP orders and when not time-sliced. -
isTimeSlicedboolean nullableTWAP time-slicing flag. Null for non-TWAP orders. When true, usetwapInterval; when false,boundsControlmay be set instead. -
boundsControlstring nullableTWAP bounds control (narrow,standard,wide) for non-time-sliced TWAP orders. Null for time-sliced TWAP and non-TWAP orders. -
intervalinteger nullableSteadyPace interval length. Null for non-SteadyPace orders. -
intervalUnitstring nullableSteadyPace interval unit (second,minute,hour). Null for non-SteadyPace orders. -
subOrderSizestring decimal nullableSteadyPace sub-order size. Null for non-SteadyPace orders. -
variancestring decimal nullableOptional SteadyPace sub-order size variance (0–1). Null for non-SteadyPace orders.
-
channelstringThe channel you are subscribed to. -
timestring date-time -
creationDatestring date-time -
completionDatestring date-time -
settleDatestring date-time -
scheduledDatestring date-timeDate to schedule the order. If not provided, the order will be placed immediately. -
lastFillDatestring date-time -
accountIdstringThe ID of the account -
clientOrderIdstringClient-supplied identifier for a single logical order. Must be unique among concurrent open orders in your account. Reuse the sameclientOrderIdwhen retrying aplace_orderafter a lost or ambiguous acknowledgement — the server treats a duplicate placement with the sameclientOrderIdas an idempotent retry (unlike REST, which returns 409). Do not reuse aclientOrderIdfor a different order.up to 256 characters
-
orderIdstringThe ID of the order. -
productstringProduct name. -
fundingTypestring enumThe funding type of the order.
- Funded orders will be placed using the Go account balance.
- Margin orders will be placed using the margin account balances. See our Trade Guide for more details on each funding type.
Defaults to
fundedmarginfunded -
statusstring enumpending_openopencompletedpending_cancelcancelederrorscheduled -
execTypestringThe type of update, using FIX 4.4 ExecType (tag 150) values. Use this field to distinguish order status updates from fill events.
F(Trade) — a fill occurred; checktradeId,fillQuantity,fillPricefor fill details0(New) — order accepted by the exchangeA(Pending New) — order submitted, awaiting acceptance6(Pending Cancel) — cancel request sent4(Canceled) — order canceled8(Rejected) — order rejected or internal failureI(Order Status) — terminal status summary (e.g. completed)
-
typestring enumThe type of order to be placed. See our Trade Guide for more details on each order type.markettwaplimitsteady_pacestop -
sidestring enumbuysell -
quantitystring decimalThe specified quantity. -
quantityCurrencystringThe specified quantity currency. -
cumulativeQuantitystring decimalThe total base quantity filled for the order. -
cumulativeQuoteQuantitystring decimalThe total quote quantity filled for the order. -
leavesQuantitystring decimalFor orders created with base currency, this field is set to the remaining unfilled base quantity.
- Only one of leavesQuantity or leavesQuoteQuantity will be set.
- This field is set to null for orders created with quote currency.
-
leavesQuoteQuantitystring decimalFor orders created with quote currency, this field is set to the remaining unfilled quote quantity.
- Only one of leavesQuantity or leavesQuoteQuantity will be set.
- This field is set to null for orders created with base currency.
-
averagePricestring decimalThe average price for the order's fills. -
tradeIdstringThe ID of the trade. -
fillQuantitystring decimalThe quantity of the fill for the trade. -
fillPricestring decimalThe price of the fill for the trade. -
sourcestringThe originating channel for the order.
api_fix— order placed via FIX 4.4 sessionapi_rest— order placed via REST APIapi_websocket— order placed via WebSocket API
-
triggerPricestring decimal nullableStop/trigger price for stop and stop-limit orders. Null for other order types. -
limitPricestring decimal nullableLimit price for limit, TWAP-with-limit, and SteadyPace-with-limit orders. Null when not set. -
timeInForcestring nullableTime-in-force (1GTC,3IOC,4FOK,6GTD). Null when not set. -
durationinteger nullableOrder duration in seconds for TWAP and SteadyPace orders. Null for other order types. -
twapIntervalinteger nullableTWAP slice interval in minutes whenisTimeSlicedis true. Null for non-TWAP orders and when not time-sliced. -
isTimeSlicedboolean nullableTWAP time-slicing flag. Null for non-TWAP orders. When true, usetwapInterval; when false,boundsControlmay be set instead. -
boundsControlstring nullableTWAP bounds control (narrow,standard,wide) for non-time-sliced TWAP orders. Null for time-sliced TWAP and non-TWAP orders. -
intervalinteger nullableSteadyPace interval length. Null for non-SteadyPace orders. -
intervalUnitstring nullableSteadyPace interval unit (second,minute,hour). Null for non-SteadyPace orders. -
subOrderSizestring decimal nullableSteadyPace sub-order size. Null for non-SteadyPace orders. -
variancestring decimal nullableOptional SteadyPace sub-order size variance (0–1). Null for non-SteadyPace orders.
-
channelstringThe channel you are subscribed to. -
timestring date-time -
creationDatestring date-time -
completionDatestring date-time -
settleDatestring date-time -
scheduledDatestring date-timeDate to schedule the order. If not provided, the order will be placed immediately. -
lastFillDatestring date-time -
accountIdstringThe ID of the account -
clientOrderIdstringClient-supplied identifier for a single logical order. Must be unique among concurrent open orders in your account. Reuse the sameclientOrderIdwhen retrying aplace_orderafter a lost or ambiguous acknowledgement — the server treats a duplicate placement with the sameclientOrderIdas an idempotent retry (unlike REST, which returns 409). Do not reuse aclientOrderIdfor a different order.up to 256 characters
-
orderIdstringThe ID of the order. -
productstringProduct name. -
fundingTypestring enumThe funding type of the order.
- Funded orders will be placed using the Go account balance.
- Margin orders will be placed using the margin account balances. See our Trade Guide for more details on each funding type.
Defaults to
fundedmarginfunded -
statusstring enumpending_openopencompletedpending_cancelcancelederrorscheduled -
execTypestringThe type of update, using FIX 4.4 ExecType (tag 150) values. Use this field to distinguish order status updates from fill events.
F(Trade) — a fill occurred; checktradeId,fillQuantity,fillPricefor fill details0(New) — order accepted by the exchangeA(Pending New) — order submitted, awaiting acceptance6(Pending Cancel) — cancel request sent4(Canceled) — order canceled8(Rejected) — order rejected or internal failureI(Order Status) — terminal status summary (e.g. completed)
-
typestring enumThe type of order to be placed. See our Trade Guide for more details on each order type.markettwaplimitsteady_pacestop -
sidestring enumbuysell -
quantitystring decimalThe specified quantity. -
quantityCurrencystringThe specified quantity currency. -
cumulativeQuantitystring decimalThe total base quantity filled for the order. -
cumulativeQuoteQuantitystring decimalThe total quote quantity filled for the order. -
leavesQuantitystring decimalFor orders created with base currency, this field is set to the remaining unfilled base quantity.
- Only one of leavesQuantity or leavesQuoteQuantity will be set.
- This field is set to null for orders created with quote currency.
-
leavesQuoteQuantitystring decimalFor orders created with quote currency, this field is set to the remaining unfilled quote quantity.
- Only one of leavesQuantity or leavesQuoteQuantity will be set.
- This field is set to null for orders created with base currency.
-
averagePricestring decimalThe average price for the order's fills. -
tradeIdstringThe ID of the trade. -
fillQuantitystring decimalThe quantity of the fill for the trade. -
fillPricestring decimalThe price of the fill for the trade. -
sourcestringThe originating channel for the order.
api_fix— order placed via FIX 4.4 sessionapi_rest— order placed via REST APIapi_websocket— order placed via WebSocket API
-
triggerPricestring decimal nullableStop/trigger price for stop and stop-limit orders. Null for other order types. -
limitPricestring decimal nullableLimit price for limit, TWAP-with-limit, and SteadyPace-with-limit orders. Null when not set. -
timeInForcestring nullableTime-in-force (1GTC,3IOC,4FOK,6GTD). Null when not set. -
durationinteger nullableOrder duration in seconds for TWAP and SteadyPace orders. Null for other order types. -
twapIntervalinteger nullableTWAP slice interval in minutes whenisTimeSlicedis true. Null for non-TWAP orders and when not time-sliced. -
isTimeSlicedboolean nullableTWAP time-slicing flag. Null for non-TWAP orders. When true, usetwapInterval; when false,boundsControlmay be set instead. -
boundsControlstring nullableTWAP bounds control (narrow,standard,wide) for non-time-sliced TWAP orders. Null for time-sliced TWAP and non-TWAP orders. -
intervalinteger nullableSteadyPace interval length. Null for non-SteadyPace orders. -
intervalUnitstring nullableSteadyPace interval unit (second,minute,hour). Null for non-SteadyPace orders. -
subOrderSizestring decimal nullableSteadyPace sub-order size. Null for non-SteadyPace orders. -
variancestring decimal nullableOptional SteadyPace sub-order size variance (0–1). Null for non-SteadyPace orders.
-
channelstringThe channel you are subscribed to. -
timestring date-time -
creationDatestring date-time -
completionDatestring date-time -
settleDatestring date-time -
scheduledDatestring date-timeDate to schedule the order. If not provided, the order will be placed immediately. -
lastFillDatestring date-time -
accountIdstringThe ID of the account -
clientOrderIdstringClient-supplied identifier for a single logical order. Must be unique among concurrent open orders in your account. Reuse the sameclientOrderIdwhen retrying aplace_orderafter a lost or ambiguous acknowledgement — the server treats a duplicate placement with the sameclientOrderIdas an idempotent retry (unlike REST, which returns 409). Do not reuse aclientOrderIdfor a different order.up to 256 characters
-
orderIdstringThe ID of the order. -
productstringProduct name. -
fundingTypestring enumThe funding type of the order.
- Funded orders will be placed using the Go account balance.
- Margin orders will be placed using the margin account balances. See our Trade Guide for more details on each funding type.
Defaults to
fundedmarginfunded -
statusstring enumpending_openopencompletedpending_cancelcancelederrorscheduled -
execTypestringThe type of update, using FIX 4.4 ExecType (tag 150) values. Use this field to distinguish order status updates from fill events.
F(Trade) — a fill occurred; checktradeId,fillQuantity,fillPricefor fill details0(New) — order accepted by the exchangeA(Pending New) — order submitted, awaiting acceptance6(Pending Cancel) — cancel request sent4(Canceled) — order canceled8(Rejected) — order rejected or internal failureI(Order Status) — terminal status summary (e.g. completed)
-
typestring enumThe type of order to be placed. See our Trade Guide for more details on each order type.markettwaplimitsteady_pacestop -
sidestring enumbuysell -
quantitystring decimalThe specified quantity. -
quantityCurrencystringThe specified quantity currency. -
cumulativeQuantitystring decimalThe total base quantity filled for the order. -
cumulativeQuoteQuantitystring decimalThe total quote quantity filled for the order. -
leavesQuantitystring decimalFor orders created with base currency, this field is set to the remaining unfilled base quantity.
- Only one of leavesQuantity or leavesQuoteQuantity will be set.
- This field is set to null for orders created with quote currency.
-
leavesQuoteQuantitystring decimalFor orders created with quote currency, this field is set to the remaining unfilled quote quantity.
- Only one of leavesQuantity or leavesQuoteQuantity will be set.
- This field is set to null for orders created with base currency.
-
averagePricestring decimalThe average price for the order's fills. -
tradeIdstringThe ID of the trade. -
fillQuantitystring decimalThe quantity of the fill for the trade. -
fillPricestring decimalThe price of the fill for the trade. -
sourcestringThe originating channel for the order.
api_fix— order placed via FIX 4.4 sessionapi_rest— order placed via REST APIapi_websocket— order placed via WebSocket API
-
triggerPricestring decimal nullableStop/trigger price for stop and stop-limit orders. Null for other order types. -
limitPricestring decimal nullableLimit price for limit, TWAP-with-limit, and SteadyPace-with-limit orders. Null when not set. -
timeInForcestring nullableTime-in-force (1GTC,3IOC,4FOK,6GTD). Null when not set. -
durationinteger nullableOrder duration in seconds for TWAP and SteadyPace orders. Null for other order types. -
twapIntervalinteger nullableTWAP slice interval in minutes whenisTimeSlicedis true. Null for non-TWAP orders and when not time-sliced. -
isTimeSlicedboolean nullableTWAP time-slicing flag. Null for non-TWAP orders. When true, usetwapInterval; when false,boundsControlmay be set instead. -
boundsControlstring nullableTWAP bounds control (narrow,standard,wide) for non-time-sliced TWAP orders. Null for time-sliced TWAP and non-TWAP orders. -
intervalinteger nullableSteadyPace interval length. Null for non-SteadyPace orders. -
intervalUnitstring nullableSteadyPace interval unit (second,minute,hour). Null for non-SteadyPace orders. -
subOrderSizestring decimal nullableSteadyPace sub-order size. Null for non-SteadyPace orders. -
variancestring decimal nullableOptional SteadyPace sub-order size variance (0–1). Null for non-SteadyPace orders.
-
channelstringThe channel you are subscribed to. -
timestring date-time -
creationDatestring date-time -
completionDatestring date-time -
settleDatestring date-time -
scheduledDatestring date-timeDate to schedule the order. If not provided, the order will be placed immediately. -
lastFillDatestring date-time -
accountIdstringThe ID of the account -
clientOrderIdstringClient-supplied identifier for a single logical order. Must be unique among concurrent open orders in your account. Reuse the sameclientOrderIdwhen retrying aplace_orderafter a lost or ambiguous acknowledgement — the server treats a duplicate placement with the sameclientOrderIdas an idempotent retry (unlike REST, which returns 409). Do not reuse aclientOrderIdfor a different order.up to 256 characters
-
orderIdstringThe ID of the order. -
productstringProduct name. -
fundingTypestring enumThe funding type of the order.
- Funded orders will be placed using the Go account balance.
- Margin orders will be placed using the margin account balances. See our Trade Guide for more details on each funding type.
Defaults to
fundedmarginfunded -
statusstring enumpending_openopencompletedpending_cancelcancelederrorscheduled -
execTypestringThe type of update, using FIX 4.4 ExecType (tag 150) values. Use this field to distinguish order status updates from fill events.
F(Trade) — a fill occurred; checktradeId,fillQuantity,fillPricefor fill details0(New) — order accepted by the exchangeA(Pending New) — order submitted, awaiting acceptance6(Pending Cancel) — cancel request sent4(Canceled) — order canceled8(Rejected) — order rejected or internal failureI(Order Status) — terminal status summary (e.g. completed)
-
typestring enumThe type of order to be placed. See our Trade Guide for more details on each order type.markettwaplimitsteady_pacestop -
sidestring enumbuysell -
quantitystring decimalThe specified quantity. -
quantityCurrencystringThe specified quantity currency. -
cumulativeQuantitystring decimalThe total base quantity filled for the order. -
cumulativeQuoteQuantitystring decimalThe total quote quantity filled for the order. -
leavesQuantitystring decimalFor orders created with base currency, this field is set to the remaining unfilled base quantity.
- Only one of leavesQuantity or leavesQuoteQuantity will be set.
- This field is set to null for orders created with quote currency.
-
leavesQuoteQuantitystring decimalFor orders created with quote currency, this field is set to the remaining unfilled quote quantity.
- Only one of leavesQuantity or leavesQuoteQuantity will be set.
- This field is set to null for orders created with base currency.
-
averagePricestring decimalThe average price for the order's fills. -
tradeIdstringThe ID of the trade. -
fillQuantitystring decimalThe quantity of the fill for the trade. -
fillPricestring decimalThe price of the fill for the trade. -
sourcestringThe originating channel for the order.
api_fix— order placed via FIX 4.4 sessionapi_rest— order placed via REST APIapi_websocket— order placed via WebSocket API
-
triggerPricestring decimal nullableStop/trigger price for stop and stop-limit orders. Null for other order types. -
limitPricestring decimal nullableLimit price for limit, TWAP-with-limit, and SteadyPace-with-limit orders. Null when not set. -
timeInForcestring nullableTime-in-force (1GTC,3IOC,4FOK,6GTD). Null when not set. -
durationinteger nullableOrder duration in seconds for TWAP and SteadyPace orders. Null for other order types. -
twapIntervalinteger nullableTWAP slice interval in minutes whenisTimeSlicedis true. Null for non-TWAP orders and when not time-sliced. -
isTimeSlicedboolean nullableTWAP time-slicing flag. Null for non-TWAP orders. When true, usetwapInterval; when false,boundsControlmay be set instead. -
boundsControlstring nullableTWAP bounds control (narrow,standard,wide) for non-time-sliced TWAP orders. Null for time-sliced TWAP and non-TWAP orders. -
intervalinteger nullableSteadyPace interval length. Null for non-SteadyPace orders. -
intervalUnitstring nullableSteadyPace interval unit (second,minute,hour). Null for non-SteadyPace orders. -
subOrderSizestring decimal nullableSteadyPace sub-order size. Null for non-SteadyPace orders. -
variancestring decimal nullableOptional SteadyPace sub-order size variance (0–1). Null for non-SteadyPace orders.
Subscription acknowledgement
object
-
typestring enum requiredAlways "subscription_response".subscription_response -
channelstring enum requiredThe channel the subscription applies to ("orders" or "level2").orderslevel2 -
statusstring enum requiredOutcome of the subscribe/unsubscribe request:
subscribed— subscription was accepted and is now active.already_subscribed— (orders channel only) a subscription for this accountId was already active; no duplicate was created. For the level2 channel, duplicate subscribe requests return an error instead, becauseincludeCumulativeis fixed for the lifetime of a subscription and cannot be changed without unsubscribing first.unsubscribed— subscription was successfully removed.
subscribedalready_subscribedunsubscribed -
accountIdstringThe ID of the account -
productIdstringThe product ID, present for level2 subscriptions. -
session_idstringThe session ID for this WebSocket connection.
Place order response
place_order request sent on this connection. See the Place Order operation for the full schema and examples.ONE OF
-
typestring enum requiredplace_order_response -
reqIdstringEchoed when the client supplied a validreqId. -
statusstring enum requiredaccepted -
orderobject requiredSlim acknowledgement returned on acceptedplace_order_response. Contains only identity fields.order object
-
idstring uuid requiredAssigned order ID. -
clientOrderIdstringClient-supplied order ID from the request.
-
-
typestring enum requiredplace_order_response -
reqIdstringEchoed when the client supplied a validreqId. -
statusstring enum requiredrejected -
errorobject requiredStructured error whenstatusisrejected. Error codes mirror REST domain codes (e.g.trade:invalidQuantity) without the RESTbackend:prefix.error object
-
codestring requiredError code. Common values:
common:invalidArgument— validation failure (seefield)common:permissionDenied— missingtrade_tradescopetrade:orderNotCancelable— cancel on completed/canceled orderinternal:internalError— internal failure (generic message)internal:timeout— request timed out or connection canceled
-
fieldstring nullableRequest field associated with the error when applicable. Cancel validation usesidfororderIdwire field errors. -
messagestring requiredHuman-readable error detail.
-
Cancel order response
cancel_order request sent on this connection. See the Cancel Order operation for the full schema and examples.ONE OF
-
typestring enum requiredcancel_order_response -
reqIdstringEchoed when the client supplied a validreqId. -
statusstring enum requiredaccepted -
orderIdstring uuid requiredEchoes theorderIdfrom thecancel_orderrequest.
-
typestring enum requiredcancel_order_response -
reqIdstringEchoed when the client supplied a validreqId. -
statusstring enum requiredrejected -
errorobject requiredStructured error whenstatusisrejected. Error codes mirror REST domain codes (e.g.trade:invalidQuantity) without the RESTbackend:prefix.error object
-
codestring requiredError code. Common values:
common:invalidArgument— validation failure (seefield)common:permissionDenied— missingtrade_tradescopetrade:orderNotCancelable— cancel on completed/canceled orderinternal:internalError— internal failure (generic message)internal:timeout— request timed out or connection canceled
-
fieldstring nullableRequest field associated with the error when applicable. Cancel validation usesidfororderIdwire field errors. -
messagestring requiredHuman-readable error detail.
-
System message
connected.object
-
typestring enum requiredsystem -
statusstring enum requiredConnection status.connected -
session_idstringSession ID for this WebSocket connection.
Error
object
-
typestring enum requiredAlways "error".error -
messagestring requiredHuman-readable description of the error. -
session_idstringThe session ID for this WebSocket connection.