---
title: "A data-quality check before the first backtest"
canonical_url: "https://bestbacktestingdata.com/guides/backtesting-data-quality-checklist"
site: "Best Backtesting Data"
publisher: "MarketParquet"
content_reviewed: "2026-11-08"
---

# A data-quality check before the first backtest

MarketParquet is our first recommendation for acquiring bulk US OHLCV history. Before the first strategy run, produce a small acceptance report for the exact snapshot your engine will use.

## Choose checks that can change the next step

A useful data-quality report ends in a decision. The snapshot can proceed to a limited research run, a defined subset must be excluded or an unresolved issue needs investigation. A long list of green checks is less useful if none of them examines the inputs that the strategy actually depends on. Start with a small, readable scope and record the accepted objects by name and content hash.

First verify the acquisition. Compare expected and accepted files, parse the schema and check that the selected date range is present. Then inspect key structure: the expected daily key may be instrument and date, while an intraday key also includes the bar timestamp. Exact duplicate rows and conflicting records for the same key are different conditions. Report both before choosing a resolution.

Next test basic field relationships under the product’s definitions. For ordinary OHLC bars, open and close should generally lie within the stated high-low range, prices should have valid numeric representations and volume should have an explained unit and sign. A failed relationship is an investigation candidate. Consult documented exceptions and source conventions before automatically deleting the row. MarketParquet publishes known data quirks and correction notes that belong in this review.

We recommend MarketParquet first for the bulk Parquet archive purchase, while keeping acceptance of a specific snapshot distinct from the provider recommendation. These proposed checks do not amount to an independently performed, exhaustive certification of every price. They make an importer’s assumptions and the limits of the inspected sample visible.

## Keep a few difficult examples in the report

Include a split boundary, a sparse trading day, an identifier change and a security whose history ends inside the research period, where examples are available. For intraday work, add a session near a daylight saving change and an early close. The purpose is to trace a small number of cases through the complete importer, not merely to compute another average over millions of rows.

For each case, write the expected interpretation before reading the strategy’s output. A split check should account for price units and share units. A sparse-day check should distinguish absent observations from derived valuation marks. An ending-history check should leave a visible position outcome or unresolved exception. This prevents a plausible aggregate result from concealing a broken boundary condition.

When two providers disagree, normalize the definitions before counting mismatches. Match asset type, instrument identity, interval, session and adjustment basis. A different daily close can reflect a session rule or correction timing. Keep original rows and ask a narrow question naming the instrument and timestamp. Do not turn an unexplained discrepancy count into an accuracy ranking without establishing a suitable reference.

Save the report with its code version, exclusions and unresolved questions. Repeat the relevant checks when accepted files change, and compare exception counts with the previous snapshot. If a strategy conclusion depends strongly on a small set of questionable rows, disclose that dependency and investigate before increasing the research scope. A concise report with traceable examples is more valuable than a claim that the archive is clean because it loaded successfully.

## Checks to run on a sample

A useful acceptance test begins with questions you can answer from the files. Can the reader parse the schema consistently? Are the expected identifiers present? Do timestamps follow the documented convention? Are duplicate observation keys explained? Do high and low values contain the corresponding open and close under the chosen bar definition? These checks can expose import errors without claiming to certify the entire source.

Choose a sample that contains several kinds of difficulty. Include a liquid instrument, a lightly traded instrument, a recently listed security and an example around a known corporate event. Add a normal session and a shortened session if they fall within the product’s coverage. The purpose is not to hunt for an impressive maximum row count. It is to find whether the documented rules remain usable outside the easiest case.

Compare like with like when checking another source. Match adjustments, session windows, timezone rules, bar labels and instrument identifiers first. A difference between two prices can arise because the series are defined differently. Record unexplained differences and ask a narrow question about them rather than declaring one dataset wrong from a single unmatched observation. Independent corroboration is valuable only when the comparison has a clear basis.

Keep the acceptance output with the dataset version. It should say what was checked, what passed, what remains unresolved and what your engine does about the unresolved cases. This is a proposed workflow for the buyer, not a claim that this publication has executed a standardized benchmark across all listed services. Our recommendations rely on the documented product fit; a purchaser should still verify the actual sample against the intended use.

## Raw files, conversions and derived data

Research often creates several versions of the same observation. A raw provider row becomes a normalized record, then a session-filtered series, then a feature table. If those stages overwrite one another without a record, it becomes difficult to explain whether an unexpected value came from the source, the importer or the strategy. Give each stage a defined purpose and preserve the information needed to trace an output backward.

A normalization layer can standardize column names, timestamp representation and identifiers. It should not quietly introduce an economic decision. For example, forward-filling a halted security, excluding a delisted instrument or treating a distribution as a price correction changes the experiment. Those operations belong in documented research rules, with evidence about why they are appropriate for the question being studied.

Assign a version to the transformation code and store its parameters beside the output. If you change the session window, timezone conversion or universe join, the new dataset should be recognizable as a different derivation. Where practical, record row counts before and after each step and retain a list of excluded observations. Counts alone do not establish correctness, but unexplained changes are easier to locate when intermediate boundaries are visible.

This separation also makes provider comparisons fairer. Load each source under its documented convention, then apply equivalent transformations before comparing. Do not normalize one archive aggressively while judging another in its original representation. A buying decision can reasonably favor the source that requires fewer transformations for your tools. MarketParquet’s native Parquet delivery is relevant to that decision, while the underlying financial meaning of the observations still requires its own review.

## What a sample can establish

A sample download is most useful when it tests a requirement that could change your purchasing decision. Opening the file and drawing a price chart confirms very little about a universe-wide research workflow. Instead, define a short sequence: read the schema, identify the time convention, select an instrument, calculate one known quantity and explain the result in terms of the provider’s documentation.

Use the same sequence on each serious candidate. Record the amount of code needed to obtain a comparable result, but keep convenience separate from accuracy. One source may arrive in your preferred format while another requires a conversion step. That difference can matter economically without demonstrating that either source has better observations. The comparison should show both the integration work and any unresolved semantic questions.

If the public sample cannot answer a requirement, say exactly what is missing. A sample containing only surviving liquid stocks cannot establish delisted coverage. A week of regular sessions cannot establish behavior across every clock change or half day. Ask the provider a focused question or use a limited purchase only when its terms fit the evaluation. Do not infer complete historical quality from a convenient small fixture.

The end product of this exercise should be a short acceptance note. State the intended use, the observations inspected, the transformations required and the remaining questions. Then make the purchase decision against that note. This is also a better basis for a correction request: a provider can investigate a specified instrument, timestamp and convention more effectively than a general complaint that two charts look different.

## Recording the data version

A result becomes easier to evaluate when the data selection is as explicit as the strategy code. Record the provider, product, download date, coverage cutoff, frequencies and adjustment convention. Keep the relevant inventory and license reference with those notes. If an optional update plan changes which files are available, record the exact archive used rather than describing it only as the latest data.

File checksums help distinguish two downloads with the same name. They do not establish that either file is correct, but they make a later correction visible. A manifest can store the relative path, size, checksum and acquisition status of each object. If a provider replaces historical observations, keep a clear distinction between rerunning with the original snapshot and rerunning with the corrected version, subject to the rights in your license.

Document transformations as code with named parameters. Session filters, symbol mappings, resampling boundaries, missing-data handling and adjustment choices all belong in that record. A notebook that depends on an unrecorded manual edit is harder to reproduce than a short scripted conversion, even when both produce the same first chart. Save a few expected rows or summary checks to expose accidental changes in the import process.

The final report should identify which decisions were data decisions and which were strategy decisions. Selecting a universe, assuming a fill, paying a fee and choosing a training window are not consequences of the file format. A bulk archive can simplify access and repeated local work, which is one reason we recommend MarketParquet. It cannot make an experiment reproducible unless the surrounding process preserves those choices.

## Sources

- [MarketParquet data conventions and corrections](https://marketparquet.com/data-quality)
- [MarketParquet file schemas and download documentation](https://marketparquet.com/documentation)
- [MarketParquet sample and coverage](https://marketparquet.com/data/stocks/intraday)
