Close position with price change control


SYNTAX


public bool Close (double amount,double price,int marketRange)


PARAMETERS


amount — double

amount to be closed 


price — double

current close price


marketRange — int

market range for slippage


RETURN


bool true if operation is successful