Create Order
Create an order.
limit_price, start_time and expiry_time.- Java
- .NET
- Go
- Python
- CLI
- TS/JS
Body
side is required for every order type except SPREAD, which must leave it unset: each leg carries its own side in spread_config. spread_config is required when type is SPREAD and must be unset for every other order type.
- UNKNOWN_ORDER_TYPE: nil value
- MARKET: A market order
- LIMIT: A limit order
- TWAP: A time-weighted average price order
- BLOCK: A block trade
- VWAP: A volume-weighted average price order
- STOP_LIMIT: A conditional order combined of stop order and limit order
- RFQ: A request for quote
- PEG: A pegged order that dynamically adjust based on market conditions while maintaining execution discretion and avoiding adverse selection
- SPREAD: A spread order that trades a futures contract against its spot underlying, or against another futures contract of the same underlying (calendar spread), to capture a target spread (futures price - spot price, or back month - front month)
MARKET, LIMIT, TWAP, BLOCK, VWAP, STOP_LIMIT, RFQ, PEG, SPREAD - UNKNOWN_TIME_IN_FORCE: nil value
- GOOD_UNTIL_DATE_TIME: Expires at a certain date/time
- GOOD_UNTIL_CANCELLED: Order stays on the books until cancelled
- IMMEDIATE_OR_CANCEL: Order is executed immediately at submission or is cancelled
- FILL_OR_KILL: Order is executed immediately and fully at submission or is cancelled
GOOD_UNTIL_DATE_TIME, GOOD_UNTIL_CANCELLED, IMMEDIATE_OR_CANCEL, FILL_OR_KILL Optionally specify a display size. This is the maximum order size that will show up on venue order books. Specifying a value here effectively makes a LIMIT order into an "iceberg" style order. This property only applies to LIMIT orders and will be ignored for other order types.
- UNKNOWN_PEG_OFFSET_TYPE: nil value
- PEG_OFFSET_TYPE_PRICE: Offset specified in price units
- PEG_OFFSET_TYPE_BPS: Offset specified in basis points (BPS)
- PEG_OFFSET_TYPE_DEPTH: Offset specified in depth
PEG_OFFSET_TYPE_PRICE, PEG_OFFSET_TYPE_BPS, PEG_OFFSET_TYPE_DEPTH LimitPriceType indicates the unit limit_price is denominated in. Only meaningful for
Deribit options - leave unspecified for every other order type and product, which are
always priced in the quote currency.
- UNKNOWN_LIMIT_PRICE_TYPE: nil value -
limit_priceis interpreted in the product's default/native unit - LIMIT_PRICE_TYPE_BASE_ASSET:
limit_priceis denominated in the underlying base asset (e.g. BTC for a BTC option). Only valid for Deribit options settled in the base asset. - LIMIT_PRICE_TYPE_QUOTE_ASSET:
limit_priceis denominated in the quote asset (e.g. USD/USDC). - LIMIT_PRICE_TYPE_IMPLIED_VOLATILITY:
limit_priceis an implied volatility percentage rather than a monetary amount (e.g. "65.5" means 65.5% implied volatility).
LIMIT_PRICE_TYPE_BASE_ASSET, LIMIT_PRICE_TYPE_QUOTE_ASSET, LIMIT_PRICE_TYPE_IMPLIED_VOLATILITY