daily.data {casabourse} | R Documentation |
Daily data
Description
As its name suggests, this function returns the daily prices of a security between two dates given by the user. It receives three arguments.
Usage
daily.data(ticker = "ATW", from = "28-12-2020", to = "11-08-2022")
Arguments
ticker |
ticker that matches the title that interests us (to remind you know all the tickers of the securities through the tickers() function) |
from |
It represents the start date of data collection. This argument is of the type ” day-month-year ”. |
to |
It represents the date of stopping data collection. This argument is of the type ” day-month-year ”. |
Value
data frame
Examples
daily.data(ticker = "ATW", from = "01-01-2016", to = "01-01-2021")
[Package casabourse version 2.0.0 Index]