diff --git a/CHANGELOG.md b/CHANGELOG.md index 07c19a1..4ca679e 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.6.12] - 2023-03-28 +### Updated +- Interfaces: improve wildcard trading mode display + ## [1.6.11] - 2023-02-28 ### Updated - Services: add help url to creation_error_message diff --git a/README.md b/README.md index 7bfce0a..efb3136 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# OctoBot-Services [1.6.11](https://github.com/Drakkar-Software/OctoBot-Services/tree/master/docs/CHANGELOG.md) +# OctoBot-Services [1.6.12](https://github.com/Drakkar-Software/OctoBot-Services/tree/master/docs/CHANGELOG.md) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/31a1caa6e5384d80bf890dba5c9b5e4b)](https://app.codacy.com/gh/Drakkar-Software/OctoBot-Services?utm_source=github.com&utm_medium=referral&utm_content=Drakkar-Software/OctoBot-Services&utm_campaign=Badge_Grade_Dashboard) [![PyPI](https://img.shields.io/pypi/v/OctoBot-Services.svg)](https://pypi.python.org/pypi/OctoBot-Services/) [![Github-Action-CI](https://github.com/Drakkar-Software/OctoBot-Services/workflows/OctoBot-Services-CI/badge.svg)](https://github.com/Drakkar-Software/OctoBot-Services/actions) diff --git a/octobot_services/__init__.py b/octobot_services/__init__.py index 39c8ff3..f16f418 100644 --- a/octobot_services/__init__.py +++ b/octobot_services/__init__.py @@ -15,4 +15,4 @@ # License along with this library. PROJECT_NAME = "OctoBot-Services" -VERSION = "1.6.11" # major.minor.revision +VERSION = "1.6.12" # major.minor.revision diff --git a/octobot_services/interfaces/util/trader.py b/octobot_services/interfaces/util/trader.py index f64280d..0c46eec 100644 --- a/octobot_services/interfaces/util/trader.py +++ b/octobot_services/interfaces/util/trader.py @@ -133,7 +133,8 @@ def get_currencies_with_status(): status_explanation = "N/A" status = "N/A" for trading_mode in trading_modes: - if trading_api.get_trading_mode_symbol(trading_mode) == pair: + if trading_api.get_trading_mode_symbol(trading_mode) == pair \ + or trading_api.is_trading_mode_symbol_wildcard(trading_mode): status_explanation, status = trading_api.get_trading_mode_current_state(trading_mode) try: status = round(status, 3)