Security resolver and health checker (#2281)

* Setup health check

* Security health checker cron

* Use resolver throughout codebase

* Use resolver for trade builder

* Add security health checks to schedule

* Handle no provider

* Lint fixes
This commit is contained in:
Zach Gollwitzer
2025-05-22 12:43:24 -04:00
committed by GitHub
parent 857436d894
commit e4ee06c9f6
19 changed files with 599 additions and 78 deletions

View File

@@ -1,5 +1,5 @@
import_market_data:
cron: "0 22 * * 1-5" # 5:00 PM EST / 6:00 PM EDT (NY time)
cron: "0 22 * * 1-5" # 5:00 PM EST / 6:00 PM EDT (NY time) Monday through Friday
class: "ImportMarketDataJob"
queue: "scheduled"
description: "Imports market data daily at 5:00 PM EST (1 hour after market close)"
@@ -12,3 +12,9 @@ clean_syncs:
class: "SyncCleanerJob"
queue: "scheduled"
description: "Cleans up stale syncs"
run_security_health_checks:
cron: "0 2 * * 1-5" # 2:00 AM EST / 3:00 AM EDT (NY time) Monday through Friday
class: "SecurityHealthCheckJob"
queue: "scheduled"
description: "Runs security health checks to detect issues with security data"