From dd8b6848f2561876a1d5b652b84d5ff460198db4 Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Mon, 1 Dec 2025 16:25:05 +0100 Subject: [PATCH 1/3] [CCXT] bump to 4.5.22 --- requirements.txt | 2 +- tests_additional/real_exchanges/test_binance_futures.py | 2 +- tests_additional/real_exchanges/test_bitfinex.py | 2 +- tests_additional/real_exchanges/test_hyperliquid.py | 6 +++--- tests_additional/real_exchanges/test_phemex.py | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/requirements.txt b/requirements.txt index eeca19a68..73b937152 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,7 @@ OctoBot-Tentacles-Manager>=2.9, <2.10 trading-backend>=1.2.35 # Exchange connection requirements -ccxt==4.5.8 # always ensure real exchanges tests (in tests_additional and authenticated exchange tests) are passing before changing the ccxt version +ccxt==4.5.22 # always ensure real exchanges tests (in tests_additional and authenticated exchange tests) are passing before changing the ccxt version cryptography # Never specify a version (managed by https://github.com/Drakkar-Software/OctoBot-PyPi-Linux-Deployer) diff --git a/tests_additional/real_exchanges/test_binance_futures.py b/tests_additional/real_exchanges/test_binance_futures.py index 9e8f53770..30115b90f 100644 --- a/tests_additional/real_exchanges/test_binance_futures.py +++ b/tests_additional/real_exchanges/test_binance_futures.py @@ -58,7 +58,7 @@ async def test_time_frames(self): )) async def test_active_symbols(self): - await self.inner_test_active_symbols(1500, 3000) + await self.inner_test_active_symbols(2000, 4000) async def test_get_market_status(self): for market_status in await self.get_market_statuses(): diff --git a/tests_additional/real_exchanges/test_bitfinex.py b/tests_additional/real_exchanges/test_bitfinex.py index 022725bda..c0f8cf263 100644 --- a/tests_additional/real_exchanges/test_bitfinex.py +++ b/tests_additional/real_exchanges/test_bitfinex.py @@ -54,7 +54,7 @@ async def test_time_frames(self): )) async def test_active_symbols(self): - await self.inner_test_active_symbols(350, 350) + await self.inner_test_active_symbols(320, 320) async def test_get_market_status(self): for market_status in await self.get_market_statuses(): diff --git a/tests_additional/real_exchanges/test_hyperliquid.py b/tests_additional/real_exchanges/test_hyperliquid.py index 47b8baca0..de755fd74 100644 --- a/tests_additional/real_exchanges/test_hyperliquid.py +++ b/tests_additional/real_exchanges/test_hyperliquid.py @@ -40,8 +40,8 @@ class TestHyperliquidRealExchangeTester(RealExchangeTester): EXCHANGE_NAME = "hyperliquid" - SYMBOL = "UBTC/USDC" - SYMBOL_2 = "UETH/USDC" + SYMBOL = "BTC/USDC" + SYMBOL_2 = "ETH/USDC" SYMBOL_3 = "HYPE/USDC" CANDLE_SINCE = MAX_FETCHTABLE_TIME CANDLE_SINCE_SEC = CANDLE_SINCE / 1000 @@ -68,7 +68,7 @@ async def test_time_frames(self): )) async def test_active_symbols(self): - await self.inner_test_active_symbols(300, 300) + await self.inner_test_active_symbols(450, 450) async def test_get_market_status(self): for market_status in await self.get_market_statuses(): diff --git a/tests_additional/real_exchanges/test_phemex.py b/tests_additional/real_exchanges/test_phemex.py index 04a7db6d7..7fbe7b516 100644 --- a/tests_additional/real_exchanges/test_phemex.py +++ b/tests_additional/real_exchanges/test_phemex.py @@ -55,7 +55,7 @@ async def test_time_frames(self): )) async def test_active_symbols(self): - await self.inner_test_active_symbols(1181, 1709) + await self.inner_test_active_symbols(1100, 1709) async def test_get_market_status(self): for market_status in await self.get_market_statuses(): From 789a0e66f746b3672554c4f86cb92f8a8faa16d1 Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Mon, 1 Dec 2025 16:26:13 +0100 Subject: [PATCH 2/3] [Version] v2.4.234 --- CHANGELOG.md | 4 ++++ README.md | 2 +- octobot_trading/__init__.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e865231f..1fb8c009d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.4.234] - 2024-12-01 +### Updated +[CCXT] bump to 4.5.22 + ## [2.4.233] - 2024-11-27 ### Updated [CCXTConnector] refactor to simplify factorization in subclasses diff --git a/README.md b/README.md index 5fda98b08..ca1dc6f2a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# OctoBot-Trading [2.4.233](https://github.com/Drakkar-Software/OctoBot-Trading/blob/master/CHANGELOG.md) +# OctoBot-Trading [2.4.234](https://github.com/Drakkar-Software/OctoBot-Trading/blob/master/CHANGELOG.md) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/903b6b22bceb4661b608a86fea655f69)](https://app.codacy.com/gh/Drakkar-Software/OctoBot-Trading?utm_source=github.com&utm_medium=referral&utm_content=Drakkar-Software/OctoBot-Trading&utm_campaign=Badge_Grade_Dashboard) [![PyPI](https://img.shields.io/pypi/v/OctoBot-Trading.svg)](https://pypi.python.org/pypi/OctoBot-Trading/) [![Coverage Status](https://coveralls.io/repos/github/Drakkar-Software/OctoBot-Trading/badge.svg?branch=master)](https://coveralls.io/github/Drakkar-Software/OctoBot-Trading?branch=master) diff --git a/octobot_trading/__init__.py b/octobot_trading/__init__.py index 4fe5e2ed2..22f03eb19 100644 --- a/octobot_trading/__init__.py +++ b/octobot_trading/__init__.py @@ -15,4 +15,4 @@ # License along with this library. PROJECT_NAME = "OctoBot-Trading" -VERSION = "2.4.233" # major.minor.revision +VERSION = "2.4.234" # major.minor.revision From 036ccf15702d29a2bd563ba4bea05ea84cec428f Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Mon, 1 Dec 2025 17:39:07 +0100 Subject: [PATCH 3/3] [CCXTExchange] fix loaded markets logs --- octobot_trading/exchanges/connectors/ccxt/ccxt_connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octobot_trading/exchanges/connectors/ccxt/ccxt_connector.py b/octobot_trading/exchanges/connectors/ccxt/ccxt_connector.py index 653a024c9..a13d71bdf 100644 --- a/octobot_trading/exchanges/connectors/ccxt/ccxt_connector.py +++ b/octobot_trading/exchanges/connectors/ccxt/ccxt_connector.py @@ -137,7 +137,7 @@ async def _filtered_if_necessary_load_markets( else: await client.load_markets(reload=reload) self.logger.info( - f"Loaded {len(client.markets)} [{self.exchange_manager.exchange_name}] markets" + f"Loaded {len(client.markets) if client.markets else 0} [{self.exchange_manager.exchange_name}] markets" ) except Exception as err: # ensure this is not a proxy error, raise dedicated error if it is