Table of Contents

Method UpdateProfits

Namespace
ViiSync.AccountApi
Assembly
ViiSync.AccountApi.dll

UpdateProfits(Quote?)

Refresh positions (with the engine's current marks) and the account figures (MT5 UpdateProfits). The optional quote is accepted for source compatibility; ViiSync marks with its own live quotes.

public void UpdateProfits(Quote? quote = null)

Parameters

quote Quote

Remarks

MT5 equivalent

  • MT5API.UpdateProfits(Quote quote = null) — full: AccountApi re-marks locally on each quote