Skip to content

Interface: SpotOrder ​

Properties ​

PropertyTypeDescription
account?"spot" | "margin" | "cross_margin" | "unified"-
action_mode?"ACK" | "RESULT" | "FULL"-
amend_text?string-
amountstring-
auto_borrow?boolean-
auto_repay?boolean-
avg_deal_price?string-
create_time?string-
create_time_ms?number-
currency_pairstring-
fee?string-
fee_currency?string-
fill_price?string-
filled_amount?string-
filled_total?string-
finish_as?"open" | "ioc" | "poc" | "filled" | "cancelled" | "stp"Final state; ioc / poc reflect unfilled remainder cancelled by TIF (IOC vs post-only / maker).
gt_discount?boolean-
gt_fee?string-
gt_maker_fee?string-
gt_taker_fee?string-
iceberg?string-
id?string-
left?string-
point_fee?string-
price?string-
rebated_fee?string-
rebated_fee_currency?string-
side"buy" | "sell"-
status?"open" | "closed" | "cancelled"-
stop_loss?PatchSpotOrderTPSL-
stop_profit?PatchSpotOrderTPSL-
stp_act?"cn" | "co" | "cb" | "-"-
stp_id?number-
text?string-
time_in_force?"gtc" | "ioc" | "poc" | "fok"-
trade_quote?string-
type?"limit" | "market"-
update_time?string-
update_time_ms?number-
use_earn?boolean | nullRedeem Simple Earn funds when placing an order

Built by Siebly. Open source SDKs for exchange APIs.