From ea0a6f21cef5b10f93326a2a10b5ce5b2ab2967a Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sat, 18 Feb 2023 21:39:06 +0000 Subject: [PATCH] Remove some comments --- core/trading/active_management.py | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/core/trading/active_management.py b/core/trading/active_management.py index 4ee1375..97c42e7 100644 --- a/core/trading/active_management.py +++ b/core/trading/active_management.py @@ -95,10 +95,10 @@ class ActiveManagement(object): sendmsg(self.strategy.user, msg, title=f"AMS: {action}") def adjust_position_size(self, trade_id, new_size): - pass + pass # TODO def adjust_protection(self, trade_id, new_protection): - pass + pass # TODO def bulk_adjust(self, action_cast_list): for item in action_cast_list: @@ -130,21 +130,6 @@ class ActiveManagement(object): if action == "none": return self.add_action(action, check_type, trade_id, **kwargs) - # TODO: close/notify for: - # - trading time - # - trends - # - position size - # - protection - # - asset groups - # - crossfilter - # - max open trades - # - max open trades per symbol - # - max loss - # - max risk - - # TODO: adjust for: - # - position size - # - protection def check_trading_time(self, trade): open_ts = trade["open_time"]