Dual AccountFreeMarginCheck( string symbol, int cmd, double quantity)
Returns completely free margin that stays after the specified place was opened in the current price on the current account. If the free margin is inadequate, a mistake 134 (ERR_NOT_ENOUGH_MONEY) will be generated.
Parameters:
symbol - Symbol for trading operation.
cmd - Operation type. It may be OP_BUY or even OP_SELL.
Volume - Amount of lots.
Dual MarketInfo( string symbol, int kind)
Returns various data about securities listed in the Market View window. A portion of information about the current security is saved in variables.
Use MODE_TICKVALUE for the kind, this can return the tick value for a standard lot.




Reply With Quote