Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 1.31 KB

FuturesPriceTrigger.md

File metadata and controls

13 lines (10 loc) · 1.31 KB

# FuturesPriceTrigger

Properties

Name Type Description Notes
strategy_type int 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]
price_type int 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 int 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 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]