Track selected instruments with prices in their quoted currencies, changes against a named reference, and gradient sparklines. Open an instrument to inspect its price history.
Market Watch · Preview
Loading widget…
Preparing integration examples…
Source under review
The source code and files will be available after this version passes review.
Idle
API contract
Props for integrating the React component in your app.
snapshotWatchlistSnapshot | null (optional)
Ordered instruments and their prices, currencies and optional history. The snapshot can specify a comparison basis, feed timestamp, market state and delay. Pass null for an unavailable feed.
simulateboolean (optional)
Advances the built-in paper watchlist only. Defaults to true and respects reduced motion.
indexnumber (optional)
Adds a small delay to the staggered entrance when the card is in a grid.
Data and integration
Preview
A fictional paper watchlist with rising, falling and unchanged prices and a selectable intraday history.
Inputs
Supply a stable instrument ID, symbol, name, three-letter currency code and a finite nonnegative price or null. Include previousClose and/or sessionOpen in the same currency. priceDecimals optionally sets 0–6 decimal places. Optional asOf and history[].at are Unix milliseconds, displayed in UTC. Supply stale on an instrument or delayMinutes for a delayed feed.
Source options
Normalize quotes from your provider. Keep the last price, reference and price history in the same quote currency and basis. The host owns retrieval, freshness and trading-session metadata.
Actions
Open an instrument to inspect the latest quote, reference and reported time. Drag the slider or use the arrow keys, Home or End to inspect history. Escape or pulling down the handle closes the sheet.
Integration requirements
Relative change is (price − reference) / reference. The comparison defaults to previous-close and can be set to session-open for the entire watchlist. The widget leaves the change unavailable when the chosen reference is absent or nonpositive. A null price remains unavailable even if history exists. History is sorted by timestamp, the last sample at a duplicate timestamp wins, and explicit null samples break the line. The chart spaces supplied samples evenly and scales each instrument independently. Pass an empty quotes array for an empty list, null snapshot for unavailable data, or omit snapshot for the paper watchlist.