Learn R Programming

kisopenapi (version 0.0.2)

get_stock_history_by_ohlcv: 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)

Value

stock history by ohlcv data frame

Arguments

stock_code

A string specifying stock code

unit

A string specifying day, week, month

add_var

A boolean adding volitility and percentage change

Examples

Run this code
# get stock history
if (FALSE) {
get_stock_history_by_ohlcv("005930")
}

Run the code above in your browser using DataLab