Description Usage Arguments Value Author(s) See Also
Request historical OHLC and tick price and volume series.
1 2 | otHistData(exchange='Q', symbol='MSFT', dates=NULL,
dataType='day', interval=1)
|
exchange |
Exchange code. |
symbol |
Symbol code. |
dates |
A vector containing start and end dates (order does not matter). |
dataType |
'raw.tick' = raw ticks |
interval |
Interval value, with a default of one. |
An xts object containing the columns below:
Open |
Open price for interval. |
High |
High price for interval. |
Low |
Low price for interval. |
Close |
Close price for interval (not returned for 'today' requests). |
Volume |
Volume for interval (not returned for 'today' requests). |
Josh Ulrich
otListExchanges
and otListSymbols
provide exchange and symbols codes, respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.