Allow safe_price for market stop orders

This commit is contained in:
Matthias 2022-09-17 16:44:08 +02:00
parent ca6dec3d4c
commit 9f266cbcb2

View File

@ -83,7 +83,7 @@ class Order(_DECL_BASE):
@property @property
def safe_price(self) -> float: def safe_price(self) -> float:
return self.average or self.price return self.average or self.price or self.stop_price
@property @property
def safe_filled(self) -> float: def safe_filled(self) -> float: