Account Info
This page provides documentation for the Account Info class.
Overview
The Account Info class provides comprehensive access to trading account information and operations in Forex Tester Online. It enables developers to:
Monitor account financial metrics (balance, equity, margin)
Access account identification details (broker, account name, currency)
Track trading performance (current profit)
Verify trading capabilities (leverage, available margin)
This class is essential for implementing risk management, monitoring account status, and making trading decisions based on account conditions.
Available Methods
Account Balance and Equity
GetAccountBalance: Returns anumberrepresenting the current account balance.GetAccountEquity: Returns anumberrepresenting the current account equity.GetCurrentProfit: Returns anumberrepresenting the current profit (Equity - Deposit).
Margin Information
GetAccountMargin: Returns anumberrepresenting the current account margin.GetAvailableMargin: Returns anumberrepresenting the available (free) margin.
Account Information
GetAccountNumberProperty: Returns anumberrepresenting the account property.GetAccountStringProperty: Returns astringrepresenting the account property.GetBrokerName: Returns astringrepresenting the broker name.GetAccountCurrency: Returns astringrepresenting the account currency.GetAccountName: Returns astringrepresenting the account name.
Trading Settings
GetLeverageRatio: Returns anumberrepresenting the leverage ratio.
Click on any method name to view its detailed documentation.
Last updated