Name | Type | Description | Notes |
---|---|---|---|
strategyType | number | How the order will be triggered - `0`: by price, which means the order will be triggered if price condition is satisfied - `1`: by price gap, which means the order will be triggered if gap of recent two prices of specified `price_type` are satisfied. Only `0` is supported currently | [optional] [default to undefined] |
priceType | number | Price type. 0 - latest deal price, 1 - mark price, 2 - index price | [optional] [default to undefined] |
price | string | Value of price on price triggered, or price gap on price gap triggered | [optional] [default to undefined] |
rule | number | Trigger condition type - `1`: calculated price based on `strategy_type` and `price_type` >= `price` - `2`: calculated price based on `strategy_type` and `price_type` <= `price` | [optional] [default to undefined] |
expiration | number | How long (in seconds) to wait for the condition to be triggered before cancelling the order. | [optional] [default to undefined] |
-
NUMBER_0
(value:0
) -
NUMBER_1
(value:1
)
-
NUMBER_0
(value:0
) -
NUMBER_1
(value:1
) -
NUMBER_2
(value:2
)
-
NUMBER_1
(value:1
) -
NUMBER_2
(value:2
)