Skip to content

Add per-market alert cooldown to avoid spamΒ #4

Description

@al1enjesus

When a market is very active (e.g. election night), a single threshold can trigger dozens of alerts in minutes. A cooldown setting would help.

Proposed config:

cooldown_per_market: 300  # seconds β€” only alert once per market per 5 min

Implementation: keep a dict of {market_id: last_alert_timestamp} and skip if within cooldown window.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions