Account Info String

Enumeration of string account properties that can be retrieved using GetAccountStringProperty.

Values

Enum Value
Description

ACCOUNT_HOLDER_NAME

Account holder's name

ACCOUNT_BASE_CURRENCY

Account currency

ACCOUNT_BROKER_NAME

Broker company name

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