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.

Default

true

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 the integration supports the modification of existing order brackets.


supportModifyPositionBrackets

Optional supportModifyPositionBrackets: boolean

Whether the integration supports the modification of existing position brackets.


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.


warningMessage

Optional warningMessage: string

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