Retrieves the last two years of Tesla stock data, calculates daily price changes, daily range, daily returns, and 30-day and 90-day moving averages for the closing price. Also extracts month and year for monthly aggregations.
Retrieves the last two years of Tesla stock data, calculates daily price changes, daily range, daily returns, and 30-day and 90-day moving averages for the closing price. Also extracts month and year for monthly aggregations.