Table of Contents

Method DownloadQuoteHistory

Namespace
ViiSync.AccountApi
Assembly
ViiSync.AccountApi.dll

DownloadQuoteHistory(string, DateTime, DateTime, int)

OHLC bars in [from, to] for any MT5 timeframe in minutes (1, 5, 15, 30, 60, 240, 1440, 10080, 43200 or any other) — MT5 DownloadQuoteHistory. The engine stores M1; larger frames are aggregated here by the MT5 terminal's rules. Uses the compact VC1 transfer when the engine supports it.

public Bar[] DownloadQuoteHistory(string symbol, DateTime from, DateTime to, int timeFrame)

Parameters

symbol string
from DateTime
to DateTime
timeFrame int

Returns

Bar[]

Remarks

MT5 equivalent

  • MT5API.DownloadQuoteHistory(string symbol, DateTime from, DateTime to, int timeFrame) — full