Learn R Programming

rfinance (version 0.1.0)

build_yahoo_url: Build Yahoo URL

Description

This function defines the standard Yahoo URL for the API call

Usage

build_yahoo_url(symbol, from, to, interval = "1d", event, handle)

Arguments

symbol

Refers to the ticker of the company

from

Initial date

to

Final date

interval

Specifies the time frame used in the data. Can be '1d', '1wk' or '1mo'

event

What type of event is being recorded. Can be 'div' for dividends, 'history' for price history or 'split'.

handle

handle object