Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import pandas_ta as ta
|
|
| 5 |
import matplotlib.pyplot as plt
|
| 6 |
|
| 7 |
# Caching the stock data fetch function to improve performance
|
| 8 |
-
@st.cache_data(
|
| 9 |
def fetch_stock_data(ticker, period, interval):
|
| 10 |
"""
|
| 11 |
Fetches stock data for the given ticker, period, and interval.
|
|
|
|
| 5 |
import matplotlib.pyplot as plt
|
| 6 |
|
| 7 |
# Caching the stock data fetch function to improve performance
|
| 8 |
+
@st.cache_data()
|
| 9 |
def fetch_stock_data(ticker, period, interval):
|
| 10 |
"""
|
| 11 |
Fetches stock data for the given ticker, period, and interval.
|