We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4c926e commit da6e8e9Copy full SHA for da6e8e9
investing_algorithm_framework/domain/models/trade/trade.py
@@ -97,7 +97,7 @@ def __init__(
97
def update(self, data):
98
99
if "status" in data:
100
- self.status = TradeStatus.from_value(data["status"])
+ self.status = TradeStatus.from_value(data["status"]).value
101
102
if TradeStatus.CLOSED.equals(self.status):
103
0 commit comments