chore: Improve "wrong category" error.
This commit is contained in:
@@ -53,7 +53,8 @@ class MarketCapPairList(IPairList):
|
|||||||
for category in self._categories:
|
for category in self._categories:
|
||||||
if category not in category_ids:
|
if category not in category_ids:
|
||||||
raise OperationalException(
|
raise OperationalException(
|
||||||
f"category not in coingecko category list you can choose from {category_ids}"
|
f"category {category} not in coingecko category list. "
|
||||||
|
f"You can choose from {category_ids}"
|
||||||
)
|
)
|
||||||
|
|
||||||
if self._max_rank > 250:
|
if self._max_rank > 250:
|
||||||
|
|||||||
Reference in New Issue
Block a user