diff --git a/gui/backend/options_metadata.go b/gui/backend/options_metadata.go index aeb22df6b..a4dd84bb1 100644 --- a/gui/backend/options_metadata.go +++ b/gui/backend/options_metadata.go @@ -196,6 +196,11 @@ func loadOptionsMetadata() (metadata, error) { marketsBuilder := optionsBuilder() for tradingPair := range c.GetMarkets() { + if strings.Count(tradingPair, "/") != 1 { + log.Printf("ignoring ccxt exchange market for tradingPair on '%s' exchange because there was not exactly one '/' in the tradingPair: %s", ccxtExchangeName, tradingPair) + continue + } + marketsBuilder.ccxtMarket(tradingPair) } ccxtOptions.option("ccxt-"+ccxtExchangeName, displayName, dropdown(marketsBuilder))