Stock portfolio tracker API: compute unrealized P&L from bars and live quotes
Build a stock portfolio tracker with a US stocks API: positions as data, daily-bar backfill, unrealized P&L from live quotes, and a WebSocket upgrade path.
4 posts on adjusted prices from the SiftingIO market data blog, spanning real-time and historical coverage across stocks, forex, crypto, commodities, and on-chain venues.
Build a stock portfolio tracker with a US stocks API: positions as data, daily-bar backfill, unrealized P&L from live quotes, and a WebSocket upgrade path.

How trading simulators and paper-trading apps should pick a settlement price: venue disagreement, stale quotes, adjusted history, and a rule players can read.

Build a live US stock price and chart page: backfill adjusted OHLCV history over REST, stream real-time ticks over WebSocket, and handle market sessions.

What OHLCV data is, how bars are built from ticks, why two providers disagree on the same candle, adjusted vs unadjusted bars, and how to pull bars via API.