Spaces:
Running
Running
Update app.py
Browse files
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...'):
|