Account Info String
Values
Enum Value
Description
Usage Example
// Get account currency
const currency = this.api.GetAccountStringProperty(ENUM_ACCOUNT_INFO_STRING.ACCOUNT_BASE_CURRENCY)
console.log(`Account Currency: ${currency}`)
// Get broker name
const broker = this.api.GetAccountStringProperty(ENUM_ACCOUNT_INFO_STRING.ACCOUNT_BROKER_NAME)
console.log(`Broker: ${broker}`)
// Get account details
const accountName = this.api.GetAccountStringProperty(ENUM_ACCOUNT_INFO_STRING.ACCOUNT_HOLDER_NAME)
console.log(`Account Name: ${accountName}`)Last updated