Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion octobot_trading/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion tests_additional/real_exchanges/test_binance_futures.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion tests_additional/real_exchanges/test_bitfinex.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
6 changes: 3 additions & 3 deletions tests_additional/real_exchanges/test_hyperliquid.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion tests_additional/real_exchanges/test_phemex.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
Loading