David Li commited on
Commit
45b74b6
·
1 Parent(s): 48283ee

fix: update api calls

Browse files
Files changed (1) hide show
  1. pages/ta.py +2 -2
pages/ta.py CHANGED
@@ -50,13 +50,13 @@ def remove_existing_file(func):
50
  return wrapper
51
 
52
  @remove_existing_file
53
- @st.cache_data
54
  def build_bbands_img(data, symbol, window=15, n_std=2, export="bbands.png"):
55
  return display_bbands(data, symbol, window, n_std, export=export)
56
 
57
 
58
  @remove_existing_file
59
- @st.cache_data
60
  def build_donchian_img(data, symbol, export="donchian.png"):
61
  return display_donchian(data, symbol, export=export)
62
  company_name = symbol.upper()
 
50
  return wrapper
51
 
52
  @remove_existing_file
53
+ @st.experimental_memod
54
  def build_bbands_img(data, symbol, window=15, n_std=2, export="bbands.png"):
55
  return display_bbands(data, symbol, window, n_std, export=export)
56
 
57
 
58
  @remove_existing_file
59
+ @st.experimental_memo
60
  def build_donchian_img(data, symbol, export="donchian.png"):
61
  return display_donchian(data, symbol, export=export)
62
  company_name = symbol.upper()