Skip to content
This repository was archived by the owner on Feb 21, 2026. It is now read-only.

Commit f41913d

Browse files
authored
Merge pull request #1320 from Drakkar-Software/dev
Dev merge
2 parents 0bc6b2b + 9add660 commit f41913d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Trading/Mode/daily_trading_mode/resources/DailyTradingMode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ a state that is different from the previous one and that is not NEUTRAL.
77
A LONG state will trigger a buy order. A SHORT state will trigger a sell order.
88

99
<div class="text-center">
10-
<iframe width="560" height="315" src="https://www.youtube.com/embed/yTE6NE690Ds?showinfo=0&amp;rel=0"
10+
<iframe width="560" height="315" src="https://www.youtube.com/embed/e-GqmTfrchY?showinfo=0&amp;rel=0"
1111
title="YouTube video player" frameborder="0" allow="accelerometer; autoplay;
1212
clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
1313
</div>

Trading/Mode/index_trading_mode/index_trading.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ def init_user_inputs(self, inputs: dict) -> None:
496496
IndexTradingModeProducer.SELL_UNINDEXED_TRADED_COINS,
497497
self.sell_unindexed_traded_coins
498498
)
499-
if not self.exchange_manager.is_backtesting and \
499+
if (not self.exchange_manager or not self.exchange_manager.is_backtesting) and \
500500
authentication.Authenticator.instance().has_open_source_package():
501501
self.UI.user_input(IndexTradingModeProducer.INDEX_CONTENT, commons_enums.UserInputTypes.OBJECT_ARRAY,
502502
self.trading_config.get(IndexTradingModeProducer.INDEX_CONTENT, None), inputs,

0 commit comments

Comments
 (0)