Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.08 KB

File metadata and controls

24 lines (18 loc) · 1.08 KB

FuturesInitialOrder

Properties

Name Type Description Notes
contract String Futures contract
size Long Order size. Positive size means to buy, while negative one means to sell. Set to 0 to close the position [optional]
price String Order price. Set to 0 to use market price
close Boolean Set to true if trying to close the position [optional]
tif TifEnum Time in force. If using market price, only `ioc` is supported. - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled [optional]
text String How the order is created. Possible values are: web, api and app [optional]
reduceOnly Boolean Set to true to create an reduce-only order [optional]
isReduceOnly Boolean Is the order reduce-only [optional] [readonly]
isClose Boolean Is the order to close position [optional] [readonly]

Enum: TifEnum

Name Value
GTC "gtc"
IOC "ioc"