Skip to content

Latest commit

 

History

History
36 lines (32 loc) · 3.05 KB

CrossexOrder.md

File metadata and controls

36 lines (32 loc) · 3.05 KB

CrossexOrder

Properties

Name Type Description Notes
userId String User ID
orderId String Order ID
text String Client-defined order ID.
state String Order status: `NEW`: validated locally, pending submission to the exchange `OPEN`: resting on the exchange order book `PARTIALLY_FILLED`: partially filled `FILLED`: fully filled `FAIL`: CrossEx validation failed; see `reason` `REJECT`: rejected by the exchange; see `reason` `CANCELLED`: cancelled
symbol String Unique trading pair identifiers, e.g. `BINANCE_SPOT_BTC_USDT`, `BINANCE_FUTURE_BTC_USDT`.
side String Side (`BUY` buy / `SELL` sell).
type String Order type (`LIMIT` limit / `MARKET` market).
attribute String Order attributes (`COMMON` normal / `LIQ` liquidation takeover / `REDUCE` liquidation reduction / `ADL` auto-deleverage / `SETTLEMENT` delisting settlement).
exchangeType String Exchange type (BINANCE / OKX / GATE / BYBIT / KRAKEN / HYPERLIQUID / DERIBIT / LIGHTER). Stocks and ETFs return the listing market (US / HK / KR / JP)
businessType String Business type (SPOT: spot / FUTURE: futures / MARGIN: margin / CONVERT: flash swap / STOCK: stocks / ETF: exchange-traded funds)
qty String Order quantity in the base currency.
quoteQty String Order quantity in the quote currency.
price String Order price. Stocks and ETFs use the listing market currency (USD/HKD/KRW/JPY)
timeInForce String Time-in-force policy (default: GTC; allowed values: GTC, IOC, FOK, POC, and RPI)
executedQty String Filled base amount.
executedAmount String Filled amount in the quote currency. Stocks and ETFs use the listing market currency (USD/HKD/KRW/JPY)
executedAvgPrice String Average fill price. Stocks and ETFs use the listing market currency (USD/HKD/KRW/JPY)
feeCoin String Fee currency
fee String Fee amount.
reduceOnly String Reduce-only order (`"true"` or `"false"`).
leverage String Order leverage multiplier.
reason String Failure reason description.
lastExecutedQty String Base quantity of the latest fill.
lastExecutedPrice String Price of the latest fill. Stocks and ETFs use the listing market currency (USD/HKD/KRW/JPY)
lastExecutedAmount String Amount of the latest fill. Stocks and ETFs use the listing market currency (USD/HKD/KRW/JPY)
positionSide String Position side (`NONE` one-way position / `LONG` long / `SHORT` short)
createTime String Created time
updateTime String Update time