Name | Type | Description | Notes |
---|---|---|---|
contract | string | 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 | string | 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 | 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] |
reduce_only | bool | Set to true to create an reduce-only order | [optional] [default to false] |
is_reduce_only | bool | Is the order reduce-only | [optional] [readonly] |
is_close | bool | Is the order to close position | [optional] [readonly] |