Stock Correlation by Prompt

Title the app, “Stock Correlation”. Use plotly and yfinance and numpy libraries. Round y-axis to 1 decimal. Download 5 years of stock data and chart by default a rolling 30-day logarithmic return correlations between any two stocks. Provide defaults for each stock ticker. allow each calculation period to be changed over a selectable 5,10, 22, 30 or 60 days.

Title the app, “Stock Correlation”. Use plotly and yfinance and numpy libraries. Round y-axis to 1 decimal. Download 5 years of stock data and chart by default a rolling 30-day logarithmic return correlations between any two stocks. Provide defaults for each stock ticker. allow each calculation period to be changed over a selectable 5,10, 22, 30 or 60 days.