f_load_one: This function loads one stock from Yahoo.

Description Usage Arguments Value

View source: R/f_load.R

Description

Get stock data from Yahoo by inputting ticker name.

Usage

1
2
3
4
5
6
f_load_one(
  ticker,
  from_date = "2014-01-01",
  offline = FALSE,
  indicators = TRUE
)

Arguments

ticker

ticker code from Yahoo. Use f_load to multiple stocks.

from_date

loads data from the date untill today. Date format is yyyy-mm-dd.

offline

logical. If TRUE, data will be loaded from data folder

indicators

logical. If TRUE, technical indicators will be calculated as well. Default is TRUE

Value

A data.table


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