Close position with price change control asynchronously.


SYNTAX


public bool CloseAsync (double amount,double price,int marketRange,Action<bool> callback)


PARAMETERS


amount — double

amount to be closed


price — double

current close price


marketRange — int

market range for slippage


callback — Action

The callback function.


RETURN


bool Returns true if request is sended successfully, otherwise false.