mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-02 20:15:22 +02:00
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:
parent
857436d894
commit
e4ee06c9f6
19 changed files with 599 additions and 78 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue