Learn R Programming

casabourse (version 2.0.0)

daily.data: 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")

Value

data frame

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 ''.

Examples

Run this code
daily.data(ticker = "ATW", from = "01-01-2016", to = "01-01-2021")

Run the code above in your browser using DataLab