Method UpdateAccountProfit
- Namespace
- ViiSync.AccountApi
- Assembly
- ViiSync.AccountApi.dll
UpdateAccountProfit()
Refresh the account figures from the engine (MT5 UpdateAccountProfit).
public void UpdateAccountProfit()
Remarks
MT5 equivalent
MT5API.UpdateAccountProfit()— fullMT5API.UpdateAccountProfit(List<Order> orders)— full
UpdateAccountProfit(List<Order>)
Sum of the given orders' profit (MT5 UpdateAccountProfit(List<Order>)).
public double UpdateAccountProfit(List<Order> orders)
Parameters
Returns
Remarks
MT5 equivalent
MT5API.UpdateAccountProfit()— fullMT5API.UpdateAccountProfit(List<Order> orders)— full