Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 2.64 KB

File metadata and controls

41 lines (26 loc) · 2.64 KB

FuturesPriceTriggeredOrder

Properties

Name Type Description Notes
initial FuturesInitialOrder [default to undefined]
trigger FuturesPriceTrigger [default to undefined]
id number Auto order ID [optional] [readonly] [default to undefined]
user number User ID [optional] [readonly] [default to undefined]
createTime number Created time [optional] [readonly] [default to undefined]
finishTime number End time [optional] [readonly] [default to undefined]
tradeId number ID of the order created after trigger [optional] [readonly] [default to undefined]
status string Order status - `open`: Active - `finished`: Finished - `inactive`: Inactive, only applies to order take-profit/stop-loss - `invalid`: Invalid, only applies to order take-profit/stop-loss [optional] [readonly] [default to undefined]
finishAs string Finish status: cancelled - Cancelled; succeeded - Succeeded; failed - Failed; expired - Expired [optional] [readonly] [default to undefined]
reason string Additional description of how the order was completed [optional] [readonly] [default to undefined]
orderType string Types of take-profit and stop-loss orders, including: - `close-long-order`: Order take-profit/stop-loss, close long position - `close-short-order`: Order take-profit/stop-loss, close short position - `close-long-position`: Position take-profit/stop-loss, used to close all long positions - `close-short-position`: Position take-profit/stop-loss, used to close all short positions - `plan-close-long-position`: Position plan take-profit/stop-loss, used to close all or partial long positions - `plan-close-short-position`: Position plan take-profit/stop-loss, used to close all or partial short positions The two types of order take-profit/stop-loss are read-only and cannot be passed in requests [optional] [default to undefined]
meOrderId number Corresponding order ID for order take-profit/stop-loss orders [optional] [readonly] [default to undefined]

Enum: FuturesPriceTriggeredOrder.Status

  • Open (value: 'open')

  • Finished (value: 'finished')

  • Inactive (value: 'inactive')

  • Invalid (value: 'invalid')

Enum: FuturesPriceTriggeredOrder.FinishAs

  • Cancelled (value: 'cancelled')

  • Succeeded (value: 'succeeded')

  • Failed (value: 'failed')

  • Expired (value: 'expired')