Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.99 KB

File metadata and controls

22 lines (18 loc) · 1.99 KB

Io.Gate.GateApi.Model.CreateTrailOrder

Properties

Name Type Description Notes
Contract string Contract name
Amount string Trading quantity in contracts, positive for buy, negative for sell
ActivationPrice string Activation price, 0 means trigger immediately [optional] [default to "0"]
IsGte bool true: activate when market price >= activation price, false: <= activation price [optional]
PriceType int Activation price type: 1-latest price, 2-index price, 3-mark price [optional]
PriceOffset string Callback ratio or price distance, e.g., `0.1` or `0.1%` [optional]
ReduceOnly bool Whether reduce only [optional] [default to false]
PositionRelated bool Whether bound to a position (if position_related = true (position-related), then reduce_only must also be true) [optional] [default to false]
Text string 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"]
PosMarginMode string Position margin mode: isolated/cross [optional]
PositionMode string Position mode: single, dual, and dual_plus [optional]

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