Use helper-method to modify trades_open
This commit is contained in:
@@ -1077,6 +1077,10 @@ class LocalTrade():
|
||||
else:
|
||||
LocalTrade.trades.append(trade)
|
||||
|
||||
@staticmethod
|
||||
def remove_bt_trade(trade):
|
||||
LocalTrade.trades_open.remove(trade)
|
||||
|
||||
@staticmethod
|
||||
def get_open_trades() -> List[Any]:
|
||||
"""
|
||||
|
Reference in New Issue
Block a user