pair loading refinements

This commit is contained in:
Nicolás Sánchez 2024-11-11 14:10:30 -03:00
parent fb9681e52a
commit 77c772306a
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ def get_pair_list(broker, inclusions = ["/USDT"], exclusions = []):
"enableRateLimit": True
})
pair_list = [pair for pair in exchange.load_markets().keys()]
pair_list = [pair for pair in exchange.load_markets() if ":" not in pair]
for inclusion in inclusions:
for pair in pair_list.copy():