fix: use local time for debug print timestamps instead of Eastern

This commit is contained in:
justin committed 2026-02-23 08:36:58 -07:00
1 parent 66f39f0690
commit e6076bdcc9
1 file changed
+1 -1
+1 -1
View File
@@ -632,7 +632,7 @@ def log_indicators(timestamp, symbol, price, volume, rsi_val, adx_val, atr_val,
def debug_print(message): def debug_print(message):
if DEBUG_MODE: if DEBUG_MODE:
debug_logger.debug(f"🔎 {message}") 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(): def fetch_equity():
debug_print("Fetching account equity") debug_print("Fetching account equity")