Table of Contents

Method RequestOrderHistory

Namespace
ViiSync.AccountApi
Assembly
ViiSync.AccountApi.dll

RequestOrderHistory(DateTime, DateTime)

Fire-and-forget: the window's history on OnOrderHistory (MT5 RequestOrderHistory).

public void RequestOrderHistory(DateTime from, DateTime to)

Parameters

from DateTime
to DateTime

Remarks

MT5 equivalent

  • MT5API.RequestOrderHistory(DateTime from, DateTime to) — full
  • MT5API.RequestOrderHistory(int year, int month, List<DealInternal> partialResponse = null) — full

RequestOrderHistory(int, int)

Fire-and-forget by month (MT5 RequestOrderHistory(year, month)).

public void RequestOrderHistory(int year, int month)

Parameters

year int
month int

Remarks

MT5 equivalent

  • MT5API.RequestOrderHistory(DateTime from, DateTime to) — full
  • MT5API.RequestOrderHistory(int year, int month, List<DealInternal> partialResponse = null) — full