OrderCondition

View as MarkdownOpen in Claude

OrderCondition

FieldTypeDescription
typeint32Type of order condition to be used. Supported values include: Price: 1, Time: 3, Margin: 4, Execution: 5, Volume: 6, PercentChange: 7
isConjunctionConnectionbooltrue to declare multiple conditions must be met (AND). False to declare any conidition should trigger conditional logic.
isMoreboolThe order condition will trigger if greater than the indicated value.
conIdint32The unique IB contract identifier.
exchangestringThe destination exchange.
symbolstringThe underlying’s asset symbol.
secTypestringThe security’s type: STK – stock (or ETF) OPT – option FUT – future IND – index FOP – futures option CASH – forex pair BAG – combo WAR – warrant BOND- bond CMDTY- commodity NEWS- news FUND- mutual fund.
percentint32Value to reflect percentage change to trigger a condition.
changePercentdoubleDecimal value representing change to trigger a condition.
pricedoubleThe order’s price
triggerMethodint32Specifies how Simulated Stop
timestringTrigger time for the request. Formatted as HH:MM:ss (UTC assumed if timezone note set.)
volumeint32The bar’s traded volume (only returned for TRADES data).