diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fb8c009d..a5c881626 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.235] - 2024-12-02 +### Added +[Exchange] add is_successfully_authenticated + ## [2.4.234] - 2024-12-01 ### Updated [CCXT] bump to 4.5.22 diff --git a/README.md b/README.md index ca1dc6f2a..fb11a0cd4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# OctoBot-Trading [2.4.234](https://github.com/Drakkar-Software/OctoBot-Trading/blob/master/CHANGELOG.md) +# OctoBot-Trading [2.4.235](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 22f03eb19..9ce3bd1ef 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.234" # major.minor.revision +VERSION = "2.4.235" # major.minor.revision diff --git a/octobot_trading/exchanges/types/rest_exchange.py b/octobot_trading/exchanges/types/rest_exchange.py index 6c7ed51cf..48a62e20f 100644 --- a/octobot_trading/exchanges/types/rest_exchange.py +++ b/octobot_trading/exchanges/types/rest_exchange.py @@ -856,6 +856,9 @@ def get_alias_symbols(self) -> set[str]: async def switch_to_account(self, account_type: enums.AccountTypes): return await self.connector.switch_to_account(account_type=account_type) + def is_successfully_authenticated(self) -> bool: + return self.connector.is_authenticated + def is_authenticated_request(self, url: str, method: str, headers: dict, body) -> bool: raise NotImplementedError("is_authenticated_request is not implemented")