Skip to main content
Enumerations are sent as their upper-case names. Every enumeration also has an …_UNSPECIFIED value, which is what a field reads when it is unset, such as rejectionReason on an order that was not rejected. The contract only grows within v1, so new values can appear. Treat an enum name you do not know as unspecified.

AccountType

AccountState

RiskLevel

Listed from tightest to loosest loss limits; the enum’s numbers do not follow that order, so compare by name. See Risk level.

AssetClass

OrderSide

OrderType

OrderStatus

OrderRejectionReason

OrderCancelReason

Sent on the orderCancelled event of the real-time stream. An order cancelled with no recorded reason reads ORDER_CANCEL_REASON_UNSPECIFIED.

PositionSide

TradeDirection