Skip to main content

Interface: SymbolSpecificTradingOptions

Broker.SymbolSpecificTradingOptions

Properties​

allowedDurations​

Optional

allowedDurations: string[]

Array of strings with valid duration values. You can check that in Order Ticket.


allowedOrderTypes​

Optional

allowedOrderTypes: OrderType[]

Supported order types for the instrument.


supportAddBracketsToExistingOrder​

Optional

supportAddBracketsToExistingOrder: boolean

Using this flag you can disable adding brackets to the existing order.


supportBracketsInPips​

Optional

supportBracketsInPips: boolean

Whether brackets could be set in ticks/pips.

true

supportCryptoExchange​

Optional

supportCryptoExchange: boolean

Whether crypto exchange order placement mode is supported for a symbol.


supportGuaranteedStop​

Optional

supportGuaranteedStop: boolean

Whether Guaranteed Stop bracket is supported for a symbol.


supportIndividualPositionBrackets​

Optional

supportIndividualPositionBrackets: boolean

Whether trade brackets are supported for the symbol. Defaults to the value in the config.


supportModifyBrackets​

Optional

supportModifyBrackets: boolean

Using this flag you can disable existing order's brackets modification. If you set it to false, additional fields will be disabled in Order Ticket on the chart,


supportModifyOrderBrackets​

Optional

supportModifyOrderBrackets: boolean

Whether existing order brackets modification is supported for a symbol.


supportModifyPositionBrackets​

Optional

supportModifyPositionBrackets: boolean

Whether existing position brackets modification is supported for a symbol.


supportOrderBrackets​

Optional

supportOrderBrackets: boolean

Whether order brackets are supported for the symbol. Defaults to the value in the config.


supportPositionBrackets​

Optional

supportPositionBrackets: boolean

Whether position brackets are supported for the symbol. Defaults to the value in the config.


supportReversePosition​

Optional

supportReversePosition: boolean

Whether position reversing is supported for the symbol. Defaults to the value in the config.


supportRiskControlsAndInfo​

Optional

supportRiskControlsAndInfo: boolean

Whether the risk controls and order info should be shown.


supportStopLoss​

Optional

supportStopLoss: boolean

Whether Stop Loss bracket is supported for a symbol.


supportTrailingStop​

Optional

supportTrailingStop: boolean

Whether Trailing Stop bracket is supported for a symbol.


warningMessage​

Optional

warningMessage: string

A symbol-specific message that can be used to warn users.