download_stocks_both: Download stock data

Description Usage Arguments Value Examples

Description

Used to download stocks from both exchanges on the date specified.

Usage

1
download_stocks_both(date = lubridate::today(), ...)

Arguments

date

The date you want the data for. The input should either be a date object or a something that lubridate::as_date can parse to be a date. If a string is in the format yyyy-mm-dd, this generally works. Defaults to lubridate::today()

...

Arguments you would pass to the download stocks function

Value

The function does not return anything. It just gets the files downloaded if data is available.

Examples

1
2
3
download_stocks_both()

download_stocks_both(date = "2018-07-16", dest_path = ".")

ilangurudev/IndianStocksR documentation built on May 12, 2019, 4:36 a.m.