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
fromDateTimetoDateTimesortOrderSortascendingboolcancellationCancellationToken
Returns
Remarks
MT5 equivalent
MT5API.DownloadOrderHistoryAsync(DateTime from, DateTime to, OrderSort sort = OpenTime, bool ascending = True, DealInternal[] existDeals = null, CancellationToken cancellation = null)— full