Table of Contents

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() — full
  • MT5API.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

orders List<Order>

Returns

double

Remarks

MT5 equivalent

  • MT5API.UpdateAccountProfit() — full
  • MT5API.UpdateAccountProfit(List&lt;Order&gt; orders) — full