mirror of
https://github.com/aljazceru/hummingbot-dashboard.git
synced 2026-01-06 15:04:25 +01:00
(fix) add logic to remove exchanges that aren't in coingecko
This commit is contained in:
@@ -48,7 +48,7 @@ st.sidebar.write("### Exchanges filter 🦅")
|
||||
exchanges = st.sidebar.multiselect(
|
||||
"Select the exchanges to analyze:",
|
||||
options=exchanges_df["name"],
|
||||
default=CONFIG.MINER_EXCHANGES)
|
||||
default=[exchange for exchange in CONFIG.MINER_EXCHANGES if exchange in exchanges_df["name"].unique()])
|
||||
|
||||
height = len(coin_tickers_df["coin_name"].unique()) * 500
|
||||
fig = px.scatter(
|
||||
|
||||
@@ -59,7 +59,7 @@ st.write("### Exchanges filter 🦅")
|
||||
exchanges = st.multiselect(
|
||||
"Select the exchanges to analyze:",
|
||||
options=exchanges_df["name"],
|
||||
default=CONFIG.MINER_EXCHANGES)
|
||||
default=[exchange for exchange in CONFIG.MINER_EXCHANGES if exchange in exchanges_df["name"].unique()])
|
||||
|
||||
|
||||
with st.expander('Coins Tickers Data'):
|
||||
|
||||
Reference in New Issue
Block a user