Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 1.38 KB

FuturesInitialOrder.md

File metadata and controls

19 lines (15 loc) · 1.38 KB

FuturesInitialOrder

Properties

Name Type Description Notes
contract str Futures contract
size int Order size. Positive size means to buy, while negative one means to sell. Set to 0 to close the position [optional]
price str Order price. Set to 0 to use market price
close bool Set to true if trying to close the position [optional] [default to False]
tif str Time in force. If using market price, only `ioc` is supported. - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled [optional] [default to 'gtc']
text str The source of the order, including: - web: web - api: api - app: app [optional]
reduce_only bool Set to true to create a reduce-only order [optional] [default to False]
auto_size str Set side to close dual-mode position. `close_long` closes the long side; while `close_short` the short one. Note `size` also needs to be set to 0 [optional]
is_reduce_only bool Is the order reduce-only [optional] [readonly]
is_close bool Is the order to close position [optional] [readonly]

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