Skip to content

Commit 09e631a

Browse files
committed
REF: Fixup minor lint issue from prev commit 5e1accc
1 parent 5e1accc commit 09e631a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backtesting/backtesting.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ def __set_contingent(self, type, price):
647647
assert type in ('sl', 'tp')
648648
assert price is None or 0 < price < np.inf
649649
attr = f'_{self.__class__.__qualname__}__{type}_order'
650-
order: Order = getattr(self, attr) # type: Order
650+
order: Order = getattr(self, attr)
651651
if order:
652652
order.cancel()
653653
if price:

0 commit comments

Comments
 (0)