TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
double AccountInfoDouble ( int  property_id)

Returns the value of the corresponding account property

Parameters
property_idIdentifier of the property. The value can be one of the values of ENUM_ACCOUNT_INFO_DOUBLE:
ACCOUNT_BALANCEAccount balance in the deposit currency
ACCOUNT_CREDITAccount credit in the deposit currency
ACCOUNT_PROFITCurrent profit of an account in the deposit currency
ACCOUNT_EQUITYAccount equity in the deposit currency
ACCOUNT_MARGINAccount margin used in the deposit currency
ACCOUNT_FREEMARGINFree margin of an account in the deposit currency
ACCOUNT_MARGIN_LEVELAccount margin level in percents
ACCOUNT_MARGIN_SO_CALLMargin call level. Depending on the set ACCOUNT_MARGIN_SO_MODE is expressed in percents or in the deposit currency
ACCOUNT_MARGIN_SO_SOMargin stop out level. Depending on the set ACCOUNT_MARGIN_SO_MODE is expressed in percents or in the deposit currency
Returns
Value of specified property