TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
long AccountInfoInteger ( int  property_id)

Returns the value of the integer properties of the account

Parameters
property_idIdentifier of the property. The value can be one of the values of ENUM_ACCOUNT_INFO_INTEGER:
ACCOUNT_LOGINAccount number (long)
ACCOUNT_TRADE_MODEAccount trade mode: ACCOUNT_TRADE_MODE_DEMO, ACCOUNT_TRADE_MODE_CONTEST, ACCOUNT_TRADE_MODE_REAL
ACCOUNT_LEVERAGEAccount leverage (long)
ACCOUNT_LIMIT_ORDERSMaximum allowed number of active pending orders (0-unlimited) (int)
ACCOUNT_MARGIN_SO_MODEMode for setting the minimal allowed margin: ACCOUNT_STOPOUT_MODE_PERCENT, ACCOUNT_STOPOUT_MODE_MONEY
ACCOUNT_TRADE_ALLOWEDAllowed tradeĀ for the current account (bool)
ACCOUNT_TRADE_EXPERTAllowed tradeĀ for an Expert Advisor (bool)
Returns
Value of specified property