Skip to content

feat: implement portfolio alerts & notifications#449

Open
AbuJulaybeeb wants to merge 1 commit into
StellarFlow-Network:mainfrom
AbuJulaybeeb:feat/331-portfolio-alerts
Open

feat: implement portfolio alerts & notifications#449
AbuJulaybeeb wants to merge 1 commit into
StellarFlow-Network:mainfrom
AbuJulaybeeb:feat/331-portfolio-alerts

Conversation

@AbuJulaybeeb

@AbuJulaybeeb AbuJulaybeeb commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Integrated the event-driven alert system under the src/alerts module.
Added core functionality for tracking price alerts (createPriceAlert) and portfolio milestones (createPortfolioAlert).
Implemented delivery channel configurations (Email, Webhook, In-App) via the alert_preferences entity and dispatcher logic.
Included management logic allowing users to toggle specific alerts and configure cooldown frequencies to prevent spam.
Integrated the alert_trigger_log to maintain historical tracking and systemic auditing.
Why it was done:

To proactively inform users about critical portfolio events such as significant price action, allocation drift, and target milestones, ensuring real-time responsiveness to market conditions.
How it was verified:

Verified core condition evaluation, threshold triggers, and cooldown mechanisms via unit tests (alerts.service.spec.ts).
Note: Integration and E2E tests for the broader notification delivery pipeline are pending a separate test-suite expansion, but unit coverage verifies the strict mathematical condition logic.
closes #331

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🛡️ Logic-Safety | Redundant Fallback Exception Path Guard rails

1 participant