Learn R Programming

rusquant (version 1.1.4)

getSplits: Get stock split calendar data from investing.com

Description

This function retrieves the stock split calendar data from investing.com between two given dates.

Usage

getSplits(from = Sys.Date() - 10, to = Sys.Date())

Value

A data.table object containing the stock split calendar data from investing.com.

Arguments

from

A date in the format 'YYYY-MM-DD' representing the start of the date range to retrieve data for (default is Sys.Date()-10).

to

A date in the format 'YYYY-MM-DD' representing the end of the date range to retrieve data for (default is Sys.Date()).

Author

Vyacheslav Arbuzov

Examples

Run this code
getSplits(from=Sys.Date(),to=Sys.Date()+3)

Run the code above in your browser using DataLab