Symbol Info String
Values
Enum Value
Description
Usage Example
// Get currency information
const baseCurrency = this.api.GetSymbolStringProperty('EURUSD', ENUM_SYMBOL_INFO_STRING.SYMBOL_BASE_CURRENCY)
const profitCurrency = this.api.GetSymbolStringProperty('EURUSD', ENUM_SYMBOL_INFO_STRING.SYMBOL_PROFIT_CURRENCY)
// Get symbol description
const description = this.api.GetSymbolStringProperty('EURUSD', ENUM_SYMBOL_INFO_STRING.SYMBOL_DISPLAY_NAME)
// Get margin calculation formula
const marginFormula = this.api.GetSymbolStringProperty('EURUSD', ENUM_SYMBOL_INFO_STRING.SYMBOL_MARGIN_FORMULA)Last updated