From 00318be59fe0711cb31fa21f843b162033cb661e Mon Sep 17 00:00:00 2001 From: liuweiqing Date: Sat, 9 Nov 2024 11:25:31 +0800 Subject: [PATCH] chore: Convert page number to string to ensure type compatibility --- freqtrade/plugins/pairlist/MarketCapPairList.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/plugins/pairlist/MarketCapPairList.py b/freqtrade/plugins/pairlist/MarketCapPairList.py index 874e7bb2c..b925d0b21 100644 --- a/freqtrade/plugins/pairlist/MarketCapPairList.py +++ b/freqtrade/plugins/pairlist/MarketCapPairList.py @@ -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: