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 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 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():