Position CLASS
Provide access to Take Profit order of the current order or null if it isn't exist. SYNTAX public Order TakeProfitOrder { get; } EXAMPLE ...
Sat, May 5, 2018 at 4:22 PM
Close position. SYNTAX public bool Close () RETURN bool true if operation is successful
Sat, May 5, 2018 at 4:36 PM
Close part of the position. SYNTAX public bool Close (double amount) PARAMETERS amount — double amount to be closed RETURN bool true...
Sat, May 5, 2018 at 4:37 PM
Close position with price change control SYNTAX public bool Close (double amount,double price,int marketRange) PARAMETERS amount — double amo...
Sat, May 5, 2018 at 4:45 PM
Close position asynchronously. SYNTAX public bool CloseAsync (Action<bool> callback) PARAMETERS callback — Action The callback function...
Sat, May 5, 2018 at 4:47 PM
Close part of the position asynchronously. SYNTAX public bool CloseAsync (double amount,Action<bool> callback) PARAMETERS amount — doub...
Sat, May 5, 2018 at 4:51 PM
Close position with price change control asynchronously. SYNTAX public bool CloseAsync (double amount,double price,int marketRange,Action<bool>...
Sat, May 5, 2018 at 4:53 PM
Commission amount for the position. SYNTAX public double GetCommission (Currency currency) PARAMETERS currency — Currency currency for calc...
Sat, May 5, 2018 at 4:55 PM
Returns amount of counter instrument part on which your position is open. For open position recalculating occurs after every new quote. If position close - ...
Sat, May 5, 2018 at 4:58 PM
Profit/loss calculated based on the current broker's price in counter currency. SYNTAX public double GetProfitExp2 () RETURN double Gros...
Sat, May 5, 2018 at 4:59 PM