From e6076bdcc9ffce79d991d36d1067ee6457cdeff6 Mon Sep 17 00:00:00 2001 From: Justin Oros Date: Mon, 23 Feb 2026 08:36:58 -0700 Subject: [PATCH] fix: use local time for debug print timestamps instead of Eastern --- alpaca_trader/engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alpaca_trader/engine.py b/alpaca_trader/engine.py index b11b1b1..5c4aaf2 100644 --- a/alpaca_trader/engine.py +++ b/alpaca_trader/engine.py @@ -632,7 +632,7 @@ def log_indicators(timestamp, symbol, price, volume, rsi_val, adx_val, atr_val, def debug_print(message): if DEBUG_MODE: debug_logger.debug(f"🔎 {message}") - print(f"{datetime.now(EASTERN).strftime('%Y-%m-%d %H:%M:%S,%f')[:-3]} - DEBUG - 🔎 {message}", flush=True) + print(f"{datetime.now().strftime('%Y-%m-%d %H:%M:%S,%f')[:-3]} - DEBUG - 🔎 {message}", flush=True) def fetch_equity(): debug_print("Fetching account equity")