diff --git a/CHANGELOG.md b/CHANGELOG.md index abafe6b5..1fcd8e83 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). +## [1.9.43] - 2023-03-21 +### Added +PROFITABILITY to InitializationEventExchangeTopics + ## [1.9.42] - 2023-02-20 ### Removed - usd_like_value from MinimalFund diff --git a/README.md b/README.md index 497fdd8f..f5c06eca 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# OctoBot-Commons [1.9.42](https://github.com/Drakkar-Software/OctoBot-Commons/blob/master/CHANGELOG.md) +# OctoBot-Commons [1.9.43](https://github.com/Drakkar-Software/OctoBot-Commons/blob/master/CHANGELOG.md) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/b31f3ab3511744a5a5ca6b9bb48e77bb)](https://app.codacy.com/gh/Drakkar-Software/OctoBot-Commons?utm_source=github.com&utm_medium=referral&utm_content=Drakkar-Software/OctoBot-Commons&utm_campaign=Badge_Grade_Dashboard) [![PyPI](https://img.shields.io/pypi/v/OctoBot-Commons.svg)](https://pypi.python.org/pypi/OctoBot-Commons/) [![Coverage Status](https://coveralls.io/repos/github/Drakkar-Software/OctoBot-Commons/badge.svg?branch=master)](https://coveralls.io/github/Drakkar-Software/OctoBot-Commons?branch=master) diff --git a/octobot_commons/__init__.py b/octobot_commons/__init__.py index b7a9d4c9..afe887d4 100644 --- a/octobot_commons/__init__.py +++ b/octobot_commons/__init__.py @@ -16,7 +16,7 @@ # License along with this library. PROJECT_NAME = "OctoBot-Commons" -VERSION = "1.9.42" # major.minor.revision +VERSION = "1.9.43" # major.minor.revision MARKET_SEPARATOR = "/" SETTLEMENT_ASSET_SEPARATOR = ":" diff --git a/octobot_commons/databases/implementations/meta_database.py b/octobot_commons/databases/implementations/meta_database.py index 0c70f54c..4641d6d0 100644 --- a/octobot_commons/databases/implementations/meta_database.py +++ b/octobot_commons/databases/implementations/meta_database.py @@ -120,8 +120,7 @@ def all_basic_run_db(self, account_type, exchange=None): """ yield self.get_run_db() exchange = exchange or self.run_dbs_identifier.context.exchange_name - for db in self.exchange_dbs[exchange].all_basic_run_db(account_type): - yield db + yield from self.exchange_dbs[exchange].all_basic_run_db(account_type) def get_db(self, db_identifier): """ diff --git a/octobot_commons/enums.py b/octobot_commons/enums.py index 5020506e..b1dc3835 100644 --- a/octobot_commons/enums.py +++ b/octobot_commons/enums.py @@ -401,6 +401,7 @@ class SignalsAttrs(enum.Enum): class InitializationEventExchangeTopics(enum.Enum): POSITIONS = "positions" BALANCE = "balance" + PROFITABILITY = "profitability" ORDERS = "orders" TRADES = "trades" CONTRACTS = "contracts"