Drakkar-Software / OctoBot

Open source crypto trading bot
https://www.octobot.cloud
GNU General Public License v3.0
3.45k stars 781 forks source link

Error when changing strategy #2804

Open rob-n-hood opened 5 days ago

rob-n-hood commented 5 days ago

OS: Using Docker on Linux

Description: When choosing a strategy for using on CoinEx an error is thrown.

Reproduce Problem: Choose an exchange as CoinEx Select any trading strategy

Observed Results:

Error: 'dict object' has no attribute 'binance' (UndefinedError). More details in logs.

File "/octobot/tentacles/Services/Interfaces/web_interface/templates/trading_type_selector.html", line 112, in block 'body' {{ m_config_exchange_card.config_exchange_card(config_exchanges, File "/opt/venv/lib/python3.10/site-packages/jinja2/environment.py", line 487, in getattr return getattr(obj, attribute) jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'binance'

rob-n-hood commented 5 days ago

Seems the exchange was not marked as active which caused the error.