Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 1.38 KB

FuturesPriceTrigger.md

File metadata and controls

14 lines (10 loc) · 1.38 KB

FuturesPriceTrigger

Properties

Name Type Description Notes
strategy_type int Trigger Policy - 0: Price trigger, that is, when the price meets the conditions - 1: Price spread trigger, i.e. the last price specified in `price_type` minus the second-last price difference At present, only 0 is the latest transaction price [optional]
price_type int Price type. 0 - latest deal price, 1 - mark price, 2 - index price [optional]
price str Value of price on price triggered, or price gap on price gap triggered [optional]
rule int Price Condition Type - 1: Indicates that the price calculated based on `strategy_type` and `price_type` is greater than or equal to `Trigger.Price` Trigger, while Trigger.Price must > last_price - 2: Indicates that the price calculated based on `strategy_type` and `price_type` is less than or equal to `Trigger.Price` Trigger, and Trigger.Price must < last_price [optional]
expiration int How long (in seconds) to wait for the condition to be triggered before cancelling the order. [optional]

[Back to Model list] [Back to API list] [Back to README]