diff --git a/Trading/Mode/daily_trading_mode/resources/DailyTradingMode.md b/Trading/Mode/daily_trading_mode/resources/DailyTradingMode.md index 65d11c0c9..afc963082 100644 --- a/Trading/Mode/daily_trading_mode/resources/DailyTradingMode.md +++ b/Trading/Mode/daily_trading_mode/resources/DailyTradingMode.md @@ -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.
-
diff --git a/Trading/Mode/index_trading_mode/index_trading.py b/Trading/Mode/index_trading_mode/index_trading.py index d64ced33d..4c96501dc 100644 --- a/Trading/Mode/index_trading_mode/index_trading.py +++ b/Trading/Mode/index_trading_mode/index_trading.py @@ -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,