diff --git a/stock_analysis.py b/stock_analysis.py new file mode 100644 index 0000000..8a57b0b --- /dev/null +++ b/stock_analysis.py @@ -0,0 +1,11 @@ +# Stock Analysis Script + +import yfinance as yf + +ticker = input("Enter stock symbol (e.g., AAPL): ") + +stock = yf.Ticker(ticker) +data = stock.history(period="5d") + +print("\nStock Data:\n") +print(data) \ No newline at end of file