Skip to content

Add docs for how the price alert threshold check runs after each trade event is indexed #507

Description

@Chucks1093

Summary

Contributors working on the indexer or alert system need to understand when and how the alert threshold check runs — whether it is synchronous with the trade write, a separate job, or event-driven — so they can modify either system without breaking the other.

Scope

  • Document the sequence: trade event written → price snapshot updated → alert check triggered
  • Explain whether the check is synchronous or queued
  • Describe how multiple alerts for the same creator are evaluated in a single pass
  • Add a note on what happens if the alert check fails after a successful trade write

Acceptance Criteria

  • Execution sequence is documented step by step
  • Synchronous vs queued nature is stated clearly
  • Multi-alert evaluation for a single creator is explained
  • Failure handling after a successful trade write is described

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions