Module 7 · Interview Prep: A Live Market Data Feed Lesson 49 of 54
The Streaming API
One WebSocket, subscribe, a snapshot then updates, and sequence numbers in place of keys.
Transcript
31 sentences · select one to jump thereCheck your understanding
After a reconnect, the app replays its whole subscribe list. What happens to symbols it was already subscribed to?
Lesson notes
The rule
Subscriptions are idempotent, and the sequence number plays the key's role: drop anything at or below what you've applied