All work
Entry 01 of 03
Read the walkthrough
- Read the sample feed
- Plot the latest quote
- Record the price alert
Overview
I build monitors that associate each price with its symbol, source and observation time. When a quote crosses a configured threshold, the monitor can log the event or send a notification.
What it covers
- Timestamped quotes
- Symbol watchlists
- Threshold crossings
- Event notifications
Inside the walkthrough
The example uses a fictional DEMO/UNIT feed. A new quote appears above the monitor's sample threshold, and the event log records the crossing with the time it happened.
Test a price alert
- Choose a symbol from a sample feed and record the price, source and observation time for each quote.
- Compare each new quote with the previous one and log an alert in SQLite when the two prices cross your test threshold.
- Replay a short sequence below, above and still above the threshold to verify that the monitor records a single crossing.