Investment Studio > Views > Downloads > Downloader > ActiveX interface > DLOutput > addQuote

void DLOutput.addQuote(BSTR year, month, day, open, high, low, close, volume)

Returns a quote record to the downloader.

All valid quote records returned this way are added to the download item's data file using the target format string specified by the download item. To be valid, a quote record must contain at least a valid date.

All arguments are numbers in string format. Real numbers (open, high, low, close, volume) must use a period (".") as (optional) decimal separator. Scientific notation (e.g. "1E-3" for "0.001") is supported.

The valid year range is [1, 9999]; the valid month range is [1, 12]; the valid day range is [1, 31].

See also DLOuput.addQuoteEx, DLOutput.save.