itsmekartikgupta / risk-return-tradeoff Goto Github PK
View Code? Open in Web Editor NEWThis repository contains a Python script for analyzing stock returns and comparing the volatility of individual stocks with the NASDAQ-100 index. The script retrieves historical stock price data using the Yahoo Finance API, calculates daily returns and volatility, and visualizes the relationship between annual returns and volatility.
License: MIT License