From 7c8dd5e58d8855abe9f63582cda292b3973f1ccf Mon Sep 17 00:00:00 2001 From: "Bobby Abellana (aider)" Date: Thu, 6 Feb 2025 22:45:32 -0800 Subject: [PATCH] feat: Add debug print for portfolio size in SunnyBands scanner --- src/screener/t_sunnyband.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/screener/t_sunnyband.py b/src/screener/t_sunnyband.py index 13e1b8f..c1d99d8 100644 --- a/src/screener/t_sunnyband.py +++ b/src/screener/t_sunnyband.py @@ -308,6 +308,7 @@ def run_sunny_scanner(min_price: float, max_price: float, min_volume: int, portf calculator = None if portfolio_size and portfolio_size > 0: calculator = PositionCalculator(account_size=portfolio_size) + print(f"\nInitialized position calculator with portfolio size: ${portfolio_size:,.2f}") # Track progress total = len(tickers)