argument_validation: Check Arguments

Description Usage Arguments Details Value Author(s)

View source: R/nasdaq_functions.R

Description

Function that checks the format of stock name and date to get data from NASDAQ website

Usage

1
argument_validation(stock_name, start_date, end_date)

Arguments

stock_name

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

start_date

a sting that represent the date

end_date

a sting that represent the date

Details

This function checks validity of stock name and if the date value entered is in the YYYY-MM-DD format

Value

TRUE if all the arguments are perfect else terminates the process

Author(s)

Rijin Baby


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