Remove some comments

This commit is contained in:
Mark Veidemanis 2023-02-18 21:39:06 +00:00
parent 8d9fe15346
commit ea0a6f21ce
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 2 additions and 17 deletions

View File

@ -95,10 +95,10 @@ class ActiveManagement(object):
sendmsg(self.strategy.user, msg, title=f"AMS: {action}") sendmsg(self.strategy.user, msg, title=f"AMS: {action}")
def adjust_position_size(self, trade_id, new_size): def adjust_position_size(self, trade_id, new_size):
pass pass # TODO
def adjust_protection(self, trade_id, new_protection): def adjust_protection(self, trade_id, new_protection):
pass pass # TODO
def bulk_adjust(self, action_cast_list): def bulk_adjust(self, action_cast_list):
for item in action_cast_list: for item in action_cast_list:
@ -130,21 +130,6 @@ class ActiveManagement(object):
if action == "none": if action == "none":
return return
self.add_action(action, check_type, trade_id, **kwargs) 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): def check_trading_time(self, trade):
open_ts = trade["open_time"] open_ts = trade["open_time"]