Interface: SpotV1OrderAutoPlaceReq
Margin order with auto borrow/repay for POST /v1/order/auto/place. Sub-accounts not supported.
Properties
| Property | Type | Description |
|---|---|---|
account-id | string | number | - |
amount? | string | Order volume. For market buy = order value. Use amount or market-amount, not both. |
borrow-amount? | string | Amount/quantity to borrow when trade-purpose=1. Max 3 decimal precision. |
client-order-id? | string | Client order ID. Max 64 chars. Valid 8h for open, 2h for completed. |
market-amount? | string | Market buy = order volume, market sell = order amount. Use amount or market-amount, not both. |
operator? | string | - |
price? | string | - |
source | SpotOrderSource | - |
stop-price? | string | - |
symbol | string | - |
trade-purpose | "1" | "2" | 1: automatic loan, 2: automatic repayment |
type | SpotOrderType | - |