CloseAsync (double amount, double price, int marketRange, Action<bool> callback)
method
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.
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.