Title: | Get Financial Data in Korea |
---|---|
Description: | Enables the acquisition of Korean financial market data, designed to integrate seamlessly with the 'tidyquant' package. |
Authors: | Chanyub Park [aut, cre] |
Maintainer: | Chanyub Park <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.1.8 |
Built: | 2024-11-21 03:04:06 UTC |
Source: | https://github.com/mrchypark/tqk |
Get code for korea finance market
code_get(fresh = FALSE)
code_get(fresh = FALSE)
fresh |
get code on internet. Default is FALSE. |
a tibble with market, name, code column.
code_get() code_get(fresh = TRUE)
code_get() code_get(fresh = TRUE)
A dataset containing the daily historical stock prices for the "SHANK" big korea stocks, "SAMSUNG", "HYUNDAI", "AMOREPACIFIC", "NAVER" and "KAKAO", spanning from 2012-02-08 through 2017-09-07.
SHANK
SHANK
A "tibble" ("tidy" data frame) with 7,580 rows and 8 variables:
stock ticker symbol
trade date
stock price at the open of trading, in won
stock price at the highest point during trading, in won
stock price at the lowest point during trading, in won
stock price at the close of trading, in won
number of shares traded
stock price at the close of trading adjusted for stock splits, in won
Get quantitative data from korea
tqk_get(x, from = "1900-01-01", to = Sys.Date())
tqk_get(x, from = "1900-01-01", to = Sys.Date())
x |
Stock x. only Korean type like "005930" is samsung. |
from |
Optional for various time series functions. A character string representing a start date in YYYY-MM-DD format. |
to |
Optional for various time series functions. A character string representing a end date in YYYY-MM-DD format. |
a tibble
tqk_get(x = "005930") tqk_get(x = "005930", from = "2018-05-01") tqk_get(x = "005930", from = "2018-05-01", to = "2018-05-31")
tqk_get(x = "005930") tqk_get(x = "005930", from = "2018-05-01") tqk_get(x = "005930", from = "2018-05-01", to = "2018-05-31")