get_stock_history_by_ohlcv: get stock history by ohlcv

View source: R/data.R

get_stock_history_by_ohlcvR 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)


kisopenapi documentation built on May 29, 2024, 5:26 a.m.