getSplits: Get stock split calendar data from investing.com

getSplitsR Documentation

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())

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()).

Value

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

Note

Not for the faint of heart. All profits and losses related are yours and yours alone. If you don't like it, write it yourself.

Author(s)

Vyacheslav Arbuzov

Examples

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

arbuzovv/rusquant documentation built on Feb. 1, 2024, 6:39 p.m.