Skip to content

Latest commit

 

History

History
37 lines (33 loc) · 3.15 KB

CrossexOrder.md

File metadata and controls

37 lines (33 loc) · 3.15 KB

CrossexOrder

Properties

Name Type Description Notes
user_id str User ID
order_id str Order ID
text str Client-defined order ID.
state str 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 str Unique trading pair identifiers, e.g. `BINANCE_SPOT_BTC_USDT`, `BINANCE_FUTURE_BTC_USDT`.
side str Side (`BUY` buy / `SELL` sell).
type str Order type (`LIMIT` limit / `MARKET` market).
attribute str Order attributes (`COMMON` normal / `LIQ` liquidation takeover / `REDUCE` liquidation reduction / `ADL` auto-deleverage / `SETTLEMENT` delisting settlement).
exchange_type str Exchange type (BINANCE / OKX / GATE / BYBIT / KRAKEN / HYPERLIQUID / DERIBIT / LIGHTER). Stocks and ETFs return the listing market (US / HK / KR / JP)
business_type str Business type (SPOT: spot / FUTURE: futures / MARGIN: margin / CONVERT: flash swap / STOCK: stocks / ETF: exchange-traded funds)
qty str Order quantity in the base currency.
quote_qty str Order quantity in the quote currency.
price str Order price. Stocks and ETFs use the listing market currency (USD/HKD/KRW/JPY)
time_in_force str Time-in-force policy (default: GTC; allowed values: GTC, IOC, FOK, POC, and RPI)
executed_qty str Filled base amount.
executed_amount str Filled amount in the quote currency. Stocks and ETFs use the listing market currency (USD/HKD/KRW/JPY)
executed_avg_price str Average fill price. Stocks and ETFs use the listing market currency (USD/HKD/KRW/JPY)
fee_coin str Fee currency
fee str Fee amount.
reduce_only str Reduce-only order (`"true"` or `"false"`).
leverage str Order leverage multiplier.
reason str Failure reason description.
last_executed_qty str Base quantity of the latest fill.
last_executed_price str Price of the latest fill. Stocks and ETFs use the listing market currency (USD/HKD/KRW/JPY)
last_executed_amount str Amount of the latest fill. Stocks and ETFs use the listing market currency (USD/HKD/KRW/JPY)
position_side str Position side (`NONE` one-way position / `LONG` long / `SHORT` short)
create_time str Created time
update_time str Update time

[Back to Model list] [Back to API list] [Back to README]