How do I write a function in R achieving following targets:
• 1. Download daily stock data using given stock ticker for given time period (set starting time, ending t