Skip to content

Commit

Permalink
Merge pull request #1464 from Drakkar-Software/dev
Browse files Browse the repository at this point in the history
Master update
  • Loading branch information
GuillaumeDSM authored Mar 7, 2025
2 parents 9319a21 + b79a74b commit 729b398
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Services/Interfaces/web_interface/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ <h2>
<h2>
<i class="fa fa-spinner fa-spin"></i>
</h2>
<p class="mt-5">
If this loader remains, please make sure that at least one exchange is enabled in
<a href="{{url_for('profile', _anchor='panelExchanges')}}">your profile</a>.
</p>
</div>
{% if backtesting_mode %}
<div class="card-body" id="first_symbol_graph" update-url="{{ url_for('first_symbol') }}" backtesting_mode={{backtesting_mode}}>
Expand Down
2 changes: 1 addition & 1 deletion Services/Interfaces/web_interface/templates/portfolio.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

<br>
{% if not has_real_trader and not has_simulated_trader %}
{{ m_waiter.display_loading_message(details="If this message remains, there might be an issue with your exchange(s) configuration.") }}
{{ m_waiter.display_loading_message(details="If this message remains, please make sure that at least one exchange is enabled in your profile.") }}
{% else %}
<div class="card" id="portfoliosCard" reference_market="{{reference_unit}}">
{{ display_init_warning() }}
Expand Down
2 changes: 1 addition & 1 deletion Services/Interfaces/web_interface/templates/trading.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h2><i class="fa fa-spinner fa-spin"></i></h2>
<br>

{% if not (pairs_with_status or has_real_trader) %}
{{ m_waiter.display_loading_message(details="If this message remains, there might be an issue with your exchange(s) configuration.") }}
{{ m_waiter.display_loading_message(details="If this message remains, please make sure that at least one exchange is enabled in your profile.") }}
{% else %}
{% for exchange, load in exchanges_load.items() %}
{{ exchange_overload_warning(exchange, load) }}
Expand Down
2 changes: 1 addition & 1 deletion Trading/Exchange/binance/binance_exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ async def set_symbol_margin_type(self, symbol: str, isolated: bool, **kwargs: di
try:
return await super().set_symbol_margin_type(symbol, isolated, **kwargs)
except ccxt.ExchangeError as err:
raise errors.NotSupported() from err
raise errors.NotSupported(err) from err


class BinanceCCXTAdapter(exchanges.CCXTAdapter):
Expand Down

0 comments on commit 729b398

Please sign in to comment.