mirror of
https://github.com/aljazceru/hummingbot-dashboard.git
synced 2026-01-15 19:34:22 +01:00
(feat) add condition to check available exchanges
This commit is contained in:
@@ -67,6 +67,10 @@ if len(accounts) == 0:
|
||||
exchanges_available = []
|
||||
for account in accounts:
|
||||
exchanges_available += account_state[account].keys()
|
||||
|
||||
if len(exchanges_available) == 0:
|
||||
st.warning("No exchanges found.")
|
||||
st.stop()
|
||||
exchanges = st.multiselect("Select Exchanges", exchanges_available, exchanges_available)
|
||||
|
||||
# Display the tokens available
|
||||
|
||||
Reference in New Issue
Block a user