netflypsb commited on
Commit
eaaa5f6
·
verified ·
1 Parent(s): 2f9cbf2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(suppress_st_warning=True, allow_output_mutation=True)
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(suppress_st_warning=True, allow_output_mutation=True)
9
  def fetch_stock_data(ticker, period, interval):
10
  """
11
  Fetches stock data for the given ticker, period, and interval.