BrokerAccount
BrokerAccount functions are mostly used for accessing live brokerage account figures. These functions are only available when the Desktop is in live trading mode, which means they should not be used during backtesting and optimization.
Sections
Name |
Description |
Gets the brokerage account buying power. |
|
Gets the brokerage account cash. |
|
Gets the brokerage account currency code. |
|
Gets the brokerage account equity. |
|
Gets the brokerage account excess equity. |
|
Gets the brokerage account initial margin. |
|
Gets the brokerage account initial margin overnight. |
|
Gets the brokerage account maintenance margin. |
|
Gets the brokerage account maintenance margin overnight. |
|
Gets the brokerage account net liquidation value. |
|
Gets the brokerage account number. |
double BrokerAccountBuyingPower() |
Gets the brokerage account buying power. Returns The brokerage account buying power. Parameters No Parameters Scripts AddOn, RiskManagement, Alert, TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy |
double BrokerAccountCash() |
Gets the brokerage account cash. Returns The brokerage account cash. Parameters No Parameters Scripts AddOn, RiskManagement, Alert, TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy |
string BrokerAccountCurrencyCode() |
Gets the brokerage account currency code. Returns The brokerage account currency code. Parameters No Parameters Scripts AddOn, RiskManagement, Alert, TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy |
double BrokerAccountEquity() |
Gets the brokerage account equity. Returns The brokerage account equity. Parameters No Parameters Scripts AddOn, RiskManagement, Alert, TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy |
double BrokerAccountExcessEquity() |
Gets the brokerage account excess equity. Returns The brokerage account excess equity. Parameters No Parameters Scripts AddOn, RiskManagement, Alert, TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy |
double BrokerAccountInitialMargin() |
Gets the brokerage account initial margin. Returns The brokerage account initial margin. Parameters No Parameters Scripts AddOn, RiskManagement, Alert, TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy |
double BrokerAccountInitialMarginOvernight() |
Gets the brokerage account initial margin overnight. Returns The brokerage account initial margin overnight. Parameters No Parameters Scripts AddOn, RiskManagement, Alert, TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy |
double BrokerAccountMaintenanceMargin() |
Gets the brokerage account maintenance margin. Returns The brokerage account maintenance margin. Parameters No Parameters Scripts AddOn, RiskManagement, Alert, TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy |
double BrokerAccountMaintenanceMarginOvernight() |
Gets the brokerage account maintenance margin overnight. Returns The brokerage account maintenance margin overnight. Parameters No Parameters Scripts AddOn, RiskManagement, Alert, TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy |
double BrokerAccountNetLiquidationValue() |
Gets the brokerage account net liquidation value. Returns The brokerage account net liquidation value. Parameters No Parameters Scripts AddOn, RiskManagement, Alert, TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy |
string BrokerAccountNumber() |
Gets the brokerage account number. Returns The brokerage account number. Parameters No Parameters Scripts AddOn, RiskManagement, Alert, TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy |