From 60d0488ce50e08b63924bf53651e8b38f1986663 Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Sun, 4 Aug 2024 20:58:51 +0200 Subject: [PATCH 1/2] [IndexTrading] fix user input run --- Trading/Mode/index_trading_mode/index_trading.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, From 9add660cb16aad6da6bc336641ee4ab94c453c2a Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Sun, 4 Aug 2024 22:59:52 +0200 Subject: [PATCH 2/2] [DailyTradingMode] update video --- Trading/Mode/daily_trading_mode/resources/DailyTradingMode.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.
-