Table of Contents

Method DownloadOrderHistoryAsync

Namespace
ViiSync.AccountApi
Assembly
ViiSync.AccountApi.dll

DownloadOrderHistoryAsync(DateTime, DateTime, OrderSort, bool, CancellationToken)

public Task<OrderHistoryEventArgs> DownloadOrderHistoryAsync(DateTime from, DateTime to, OrderSort sort = OrderSort.OpenTime, bool ascending = true, CancellationToken cancellation = default)

Parameters

from DateTime
to DateTime
sort OrderSort
ascending bool
cancellation CancellationToken

Returns

Task<OrderHistoryEventArgs>

Remarks

MT5 equivalent

  • MT5API.DownloadOrderHistoryAsync(DateTime from, DateTime to, OrderSort sort = OpenTime, bool ascending = True, DealInternal[] existDeals = null, CancellationToken cancellation = null) — full