Interface: SpotV1OrderPlaceReq
Req for POST /v1/order/orders/place
Properties
| Property | Type | Description |
|---|---|---|
account-id | string | number | Account ID from GET /v1/account/accounts. Required for trading. |
amount | string | Order size. For buy-market = order value in quote currency. |
client-order-id? | string | Client order ID. Max 64 chars. Valid 8h for open, 2h for completed. |
operator? | string | Operator for stop price (lte, gte, etc) |
price? | string | Order price. Not used for market orders. Required for limit types. |
self-match-prevent? | 0 | 1 | 0=allow self-trade, 1=prevent. Default 0 |
source? | SpotOrderSource | Order source. Default spot-api |
stop-price? | string | Trigger price for stop-limit orders |
symbol | string | Trading symbol (e.g. ethusdt) |
time-in-force? | "rpi" | RPI order - type must be buy-limit or sell-limit |
type | SpotOrderType | Order type (e.g. buy-limit, sell-market) |