Skip to main content

DarkFlag

dark is an optional JSON boolean, not an enum. Omission means false. Immediate orders never rest. FOK requires the complete quantity from eligible liquidity or cancels without fills. Private-only matching does not require a displayed quote or price improvement. See Public Trades for publication rules. Order responses omit default dark: false; decode absence as false. See Private-order API for examples, migration and supported combinations.

OrderType

This defines how the order is executed by the engine. The WebSocket API uses the string names below; the numeric values are the corresponding internal values. Internal value 2 is reserved for liquidation orders and is not accepted as a client-facing OrderType.

OrderDirection

This defines the direction of the order.

OrderTimeInForce

This defines the time in force of the order.

OrderStatus

This is returned on any order response. This will indicate the current status of the order.

SymbolStatus

CandlesInterval

Use the wire value when subscribing to the WebSocket candle channel. The symbolic name is the corresponding internal enum name.

ExecutionType