From 520cbca3912d0def86bfda5745b8423f91b79e7d Mon Sep 17 00:00:00 2001 From: Wojak Date: Mon, 9 Sep 2024 20:18:46 +0700 Subject: [PATCH] Fix wrong parameter name --- backend/services/backend_api_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/services/backend_api_client.py b/backend/services/backend_api_client.py index 91b9979..a7ae154 100644 --- a/backend/services/backend_api_client.py +++ b/backend/services/backend_api_client.py @@ -185,7 +185,7 @@ def get_historical_candles(self, connector: str, trading_pair: str, interval: st """Get historical candles data.""" endpoint = "historical-candles" payload = { - "connector": connector, + "connector_name": connector, "trading_pair": trading_pair, "interval": interval, "start_time": start_time,