Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.91 KB

File metadata and controls

20 lines (15 loc) · 1.91 KB

FuturesInitialOrder

Properties

Name Type Description Notes
Contract string Futures contract
Size int64 Represents the number of contracts that need to be closed, full closing: size=0 Partial closing: plan-close-short-position size>0 Partial closing: plan-close-long-position size<0 [optional]
Price string Order price. Set to 0 to use market price
Close bool When all positions are closed in a single position mode, it must be set to true to perform the closing operation When partially closed positions in single-store mode/double-store mode, you can not set close, or close=false [optional] [default to false]
Tif string Time in force strategy, default is gtc, market orders currently only support ioc mode - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled [optional] [default to TIF_GTC]
Text string The source of the order, including: - web: Web - api: API call - app: Mobile app [optional]
ReduceOnly bool When set to true, perform automatic position reduction operation. Set to true to ensure that the order will not open a new position, and is only used to close or reduce positions [optional] [default to false]
AutoSize string Single position mode: auto_size is not required Dual position mode full closing (size=0): auto_size must be set, close_long for closing long positions, close_short for closing short positions Dual position mode partial closing (size≠0): auto_size is not required [optional]
IsReduceOnly bool Is the order reduce-only [optional] [readonly]
IsClose bool Is the order to close position [optional] [readonly]

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