Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wildcard #171

Merged
merged 2 commits into from
Mar 28, 2024
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).

## [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
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-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)
Expand Down
2 changes: 1 addition & 1 deletion octobot_services/__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-Services"
VERSION = "1.6.11" # major.minor.revision
VERSION = "1.6.12" # major.minor.revision
3 changes: 2 additions & 1 deletion octobot_services/interfaces/util/trader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading