stock_view: View Stock Plot

Description Usage Arguments Details Value Author(s)

View source: R/nasdaq_functions.R

Description

Function that plot the stock data based on user input. By default the function gives 10 years data for the stock if the start and end dates are not specified

Usage

1
2
3
4
5
stock_view(
  stock_name,
  start_date = Sys.Date() - lubridate::years(10),
  end_date = Sys.Date()
)

Arguments

stock_name

a sting that represent the symbol of the Company listed in NASDAQ

start_date

a sting that represent the date; By default 10 years from current date is considered

end_date

a sting that represent the date; Current date is taken as default if no value is provided

Details

The function initially cleans the entered argumets and check their validity. Then update the data file and finally dispalys the data for the analysis

Value

Plot

Author(s)

Rijin Baby


unimi-dse/d7f30b68 documentation built on May 28, 2020, 9:31 a.m.