akazmi commited on
Commit
2726cac
1 Parent(s): 8fce5ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ selected_stock = st.sidebar.selectbox("Choose a stock for analysis:", top_25_sto
30
  # Function to fetch latest stock data using yfinance
31
  def get_stock_data(ticker):
32
  stock = yf.Ticker(ticker)
33
- stock_info = stock.history(period="1d", interval="1d") # stock_info = stock.history(period="1d")
34
  return stock_info
35
 
36
  # Function to fetch latest news from Yahoo Finance or fallback to Google News RSS feed
 
30
  # Function to fetch latest stock data using yfinance
31
  def get_stock_data(ticker):
32
  stock = yf.Ticker(ticker)
33
+ stock_info = stock.history(period="1d")
34
  return stock_info
35
 
36
  # Function to fetch latest news from Yahoo Finance or fallback to Google News RSS feed