get_stock_history_by_ohlcv | R Documentation |
Get stock history by open, high, low, close, volume.
get_stock_history_by_ohlcv(stock_code, unit = "D", add_var = FALSE)
stock_code |
A string specifying stock code |
unit |
A string specifying day, week, month |
add_var |
A boolean adding volitility and percentage change |
stock history by ohlcv data frame
# get stock history
## Not run:
get_stock_history_by_ohlcv("005930")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.