Spaces:
Sleeping
Sleeping
Benjamin Consolvo
commited on
Commit
·
9ddc4d7
1
Parent(s):
6001f94
no query params
Browse files
app.py
CHANGED
|
@@ -742,9 +742,6 @@ def load_auto_trade_log():
|
|
| 742 |
except Exception:
|
| 743 |
return None
|
| 744 |
|
| 745 |
-
# Remove the following line, as st.query_params is not callable and causes a TypeError
|
| 746 |
-
# st.query_params() # This is a no-op but ensures Streamlit doesn't rerun due to query params
|
| 747 |
-
|
| 748 |
class TradingApp:
|
| 749 |
def __init__(self):
|
| 750 |
self.alpaca = AlpacaTrader(st.secrets['ALPACA_API_KEY'], st.secrets['ALPACA_SECRET_KEY'], 'https://paper-api.alpaca.markets')
|
|
|
|
| 742 |
except Exception:
|
| 743 |
return None
|
| 744 |
|
|
|
|
|
|
|
|
|
|
| 745 |
class TradingApp:
|
| 746 |
def __init__(self):
|
| 747 |
self.alpaca = AlpacaTrader(st.secrets['ALPACA_API_KEY'], st.secrets['ALPACA_SECRET_KEY'], 'https://paper-api.alpaca.markets')
|