
Missing candles in OHLCV data: how to detect gaps and backfill them safely
Detect missing candles in OHLCV bar data with a UTC grid and a trading calendar, then backfill safely without forward-filling volume or range.
15 posts on ohlcv from the SiftingIO market data blog, spanning real-time and historical coverage across stocks, forex, crypto, commodities, and on-chain venues.

Detect missing candles in OHLCV bar data with a UTC grid and a trading calendar, then backfill safely without forward-filling volume or range.

Pull US economic calendar events (CPI, NFP, FOMC) as JSON and join each release to the one-minute OHLCV bar that was open when it hit, using the real field names.

How to fetch the exact 1-minute OHLCV bar under each trade fill for stocks, forex, and crypto with one API, with verified page limits, intervals, and pagination.

Weekly candle open and close times for forex, crypto, and US stocks, and how to rebuild either week convention from timestamped SiftingIO bars in pandas.

Cryptocurrency API guide: stream real-time crypto prices over WebSocket and pull 15+ years of historical OHLCV over REST, aggregated across venues.

A Postgres schema for OHLCV market data: primary key design, numeric types, honest gap handling, UPSERT for corrections, and an idempotent backfill pattern.

How to pull daily and intraday OHLCV stock bars from a REST API: request format, response fields, intervals, cursor pagination, history depth, and pitfalls.

When a daily candle opens and closes in US stocks, forex, and crypto, why weekend gaps exist, and why two providers' daily bars can legitimately differ.

Five ways historical price data silently corrupts a backtest: adjustment method, venue-dependent highs and lows, gap policy, session cuts, and restated bars.

Forex OHLCV data explained: how FX candles are built from aggregated quotes, why daily bars depend on the day boundary you pick, and how to pull them by API.

Build a total-return series from as-traded prices, split factors, and cash dividends with reinvestment math, and see where the adjusted-close shortcut misleads a backtest.

How to pull scheduled US economic events from one endpoint and align them with OHLCV bars so a backtest knows when CPI, NFP, and FOMC actually hit.

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.

How to pull scheduled US economic events from one endpoint and align them with OHLCV bars so a backtest knows when CPI, NFP, and FOMC actually hit.

How to pull historical OHLCV bars and XBRL fundamentals for one stock ticker from SiftingIO, and avoid the split and fiscal-year pitfalls.