Skip to content

Commit

Permalink
Merge pull request #1320 from Drakkar-Software/dev
Browse files Browse the repository at this point in the history
Dev merge
  • Loading branch information
GuillaumeDSM authored Aug 4, 2024
2 parents 0bc6b2b + 9add660 commit f41913d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ a state that is different from the previous one and that is not NEUTRAL.
A LONG state will trigger a buy order. A SHORT state will trigger a sell order.

<div class="text-center">
<iframe width="560" height="315" src="https://www.youtube.com/embed/yTE6NE690Ds?showinfo=0&amp;rel=0"
<iframe width="560" height="315" src="https://www.youtube.com/embed/e-GqmTfrchY?showinfo=0&amp;rel=0"
title="YouTube video player" frameborder="0" allow="accelerometer; autoplay;
clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
Expand Down
2 changes: 1 addition & 1 deletion Trading/Mode/index_trading_mode/index_trading.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ def init_user_inputs(self, inputs: dict) -> None:
IndexTradingModeProducer.SELL_UNINDEXED_TRADED_COINS,
self.sell_unindexed_traded_coins
)
if not self.exchange_manager.is_backtesting and \
if (not self.exchange_manager or not self.exchange_manager.is_backtesting) and \
authentication.Authenticator.instance().has_open_source_package():
self.UI.user_input(IndexTradingModeProducer.INDEX_CONTENT, commons_enums.UserInputTypes.OBJECT_ARRAY,
self.trading_config.get(IndexTradingModeProducer.INDEX_CONTENT, None), inputs,
Expand Down

0 comments on commit f41913d

Please sign in to comment.