From 063756173e939baf5e3ed31490c0cc767fec22ad Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Fri, 1 Nov 2024 12:48:38 -0400 Subject: [PATCH] Fix this logic --- thetagang/portfolio_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thetagang/portfolio_manager.py b/thetagang/portfolio_manager.py index cd1e6f175..ecdbc8831 100644 --- a/thetagang/portfolio_manager.py +++ b/thetagang/portfolio_manager.py @@ -2292,7 +2292,7 @@ def submit(contract: Contract, order: Order) -> Optional[Trade]: def adjust_prices(self) -> None: if ( - any( + all( [ not self.config["symbols"][symbol].get( "adjust_price_after_delay", False