Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.46 KB

File metadata and controls

35 lines (25 loc) · 1.46 KB

FuturesPriceTrigger

Properties

Name Type Description Notes
strategyType StrategyTypeEnum How the order will be triggered - `0`: by price, which means order will be triggered on price condition satisfied - `1`: by price gap, which means order will be triggered on gap of recent two prices of specified `price_type` satisfied. Only `0` is supported currently [optional]
priceType PriceTypeEnum Price type. 0 - latest deal price, 1 - mark price, 2 - index price [optional]
price String Value of price on price triggered, or price gap on price gap triggered [optional]
rule RuleEnum 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]
expiration Integer How many seconds will the order wait for the condition being triggered. Order will be cancelled on timed out [optional]

Enum: StrategyTypeEnum

Name Value
NUMBER_0 0
NUMBER_1 1

Enum: PriceTypeEnum

Name Value
NUMBER_0 0
NUMBER_1 1
NUMBER_2 2

Enum: RuleEnum

Name Value
NUMBER_1 1
NUMBER_2 2