oracleId, strike) the UI has marked hot (someone subscribed via WS or hit /v1/quotes/… in the last HOT_TTL_S, default 60s).
Loop
Hot set maintenance
- WS
subto mark(oracle, strike)hot, setHOT_TTL_Sexpiry. - WS
unsubto leave the TTL to expire; rapid re-sub avoids a re-quote round-trip. - REST
GET /v1/quotes/:oracle/:strikecache miss to mark hot + immediate inline quote.
File
packages/server/src/workers/quote-poller.ts.
Tuning
Higher polling rate to lower client-perceived latency but more RPC pressure. The 2s default is a good balance for a hackathon demo.

