mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 20:23:57 +00:00
chore: Convert page number to string to ensure type compatibility
This commit is contained in:
parent
3300d25e57
commit
00318be59f
|
@ -168,7 +168,7 @@ class MarketCapPairList(IPairList):
|
|||
if not self._categories:
|
||||
pages_required = math.ceil(self._max_rank / 250)
|
||||
for page in range(1, pages_required + 1):
|
||||
default_kwargs["page"] = page
|
||||
default_kwargs["page"] = str(page)
|
||||
page_data = self._coingecko.get_coins_markets(**default_kwargs)
|
||||
data.extend(page_data)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user