Replace print statements with proper logging for consistent log file output

This commit is contained in:
Justin Oros
2026-02-04 16:36:16 -07:00
parent e210dc7a4a
commit e615473d22
2 changed files with 10 additions and 5 deletions
+2 -1
View File
@@ -95,5 +95,6 @@ class AlpacaClient:
return float(status.filled_avg_price)
return None
except Exception as e:
print(f"Order placement error: {e}")
import logging
logging.error(f"Order placement error: {e}")
return None