Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.49 KB

FuturesInitialOrder.md

File metadata and controls

24 lines (17 loc) · 1.49 KB

FuturesInitialOrder

Properties

Name Type Description Notes
contract string Futures contract [default to undefined]
size number Order size. Positive size means to buy, while negative one means to sell. Set to 0 to close the position [optional] [default to undefined]
price string Order price. Set to 0 to use market price [default to undefined]
close boolean Set to true if trying to close the position [optional] [default to undefined]
tif string Time in force. If using market price, only `ioc` is supported. - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled [optional] [default to 'gtc']
text string How the order is created. Possible values are: web, api and app [optional] [default to undefined]
reduceOnly boolean Set to true to create a reduce-only order [optional] [default to undefined]
autoSize string 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] [default to undefined]
isReduceOnly boolean Is the order reduce-only [optional] [readonly] [default to undefined]
isClose boolean Is the order to close position [optional] [readonly] [default to undefined]

Enum: FuturesInitialOrder.Tif

  • Gtc (value: 'gtc')

  • Ioc (value: 'ioc')