Knight-coderr commited on
Commit
652c625
·
verified ·
1 Parent(s): 6ed8b7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import matplotlib.pyplot as plt
7
  from datetime import datetime
8
  import plotly.express as px
9
 
10
- # Function to load stock data using yfinance
11
  @st.cache_data(ttl=86400)
12
  def load_stock_data(tickers, start_date, end_date):
13
  with st.spinner('Downloading stock data...'):
 
7
  from datetime import datetime
8
  import plotly.express as px
9
 
10
+ # Function to load stock data using yfinance/ this is going to refresh after 1 day
11
  @st.cache_data(ttl=86400)
12
  def load_stock_data(tickers, start_date, end_date):
13
  with st.spinner('Downloading stock data...'):