| Name |
Type |
Description |
Notes |
| contract |
str |
Contract name |
|
| amount |
str |
Trading quantity in contracts, positive for buy, negative for sell |
|
| activation_price |
str |
Activation price, 0 means trigger immediately |
[optional] [default to '0'] |
| is_gte |
bool |
true: activate when market price >= activation price, false: <= activation price |
[optional] |
| price_type |
int |
Activation price type, required: 1-latest price, 2-index price, 3-mark price. The caller must specify it explicitly. |
|
| price_offset |
str |
Callback ratio or price distance, e.g., `0.1` or `0.1%` |
[optional] |
| reduce_only |
bool |
Whether reduce only |
[optional] [default to False] |
| position_related |
bool |
Whether bound to a position (if position_related = true (position-related), then reduce_only must also be true) |
[optional] [default to False] |
| text |
str |
Order custom information, optional field. Used to identify the order source or set a user-defined ID. If non-empty, it must meet one of the following rules: 1. Internal Reserved Fields (identifying order source): - `apiv4`: API call 2. User-defined Fields (setting custom ID): - Must start with `t-` - The content after `t-` must not exceed 28 bytes in length - Can only contain: numbers, letters, underscores (_), hyphens (-), or dots (.) - Examples: `t-my-order-001`, `t-trail_2024.01` Note: User-defined fields must not conflict with internal reserved fields. |
[optional] [default to 'apiv4'] |
| pos_margin_mode |
str |
Position margin mode: isolated/cross |
[optional] |
| position_mode |
str |
Position mode: single, dual, and dual_plus |
[optional] |
[Back to Model list] [Back to API list] [Back to README]