TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
double AccountFreeMarginCheck ( string  symbol,
int  cmd,
double  volume 
)

Returns free margin that remains after the specified order has been opened at the current price on the current account

Parameters
symbolSymbol for trading operation
cmdOperation type. It can be either OP_BUY or OP_SELL
volumeNumber of lots
Returns
Free margin that remains after the specified order has been opened at the current price on the current account. If the free margin is insufficient, an error 134 (ERR_NOT_ENOUGH_MONEY) will be generated