load_data: Load data from Yahoo.

Description Usage Arguments Details Value Examples

View source: R/load_data.R

Description

Load data from Yahoo.

Usage

1
load_data(ticker, from = "2014-01-01")

Arguments

ticker

ticker code from Yahoo.

from

load data 'from' untill today where the format of 'from' is yyyy-mm-dd.

Details

Davs

Value

A data.frame

Examples

1
2
3
# Load NOVO data since 2021-01-01
data <- load_data(ticker = "NOVO-B.CO", from = "2021-01-01")
data

kristian-bak/kb.stock.simulator documentation built on Dec. 21, 2021, 7:46 a.m.