get_stock_history_by_ohlcv {kisopenapi} | R Documentation |
get stock history by ohlcv
Description
Get stock history by open, high, low, close, volume.
Usage
get_stock_history_by_ohlcv(stock_code, unit = "D", add_var = FALSE)
Arguments
stock_code |
A string specifying stock code |
unit |
A string specifying day, week, month |
add_var |
A boolean adding volitility and percentage change |
Value
stock history by ohlcv data frame
Examples
# get stock history
## Not run:
get_stock_history_by_ohlcv("005930")
## End(Not run)
[Package kisopenapi version 0.0.2 Index]