Historical Data From Chinese Vendors: Granularity and Gaps

Historical data supplied by Chinese vendors for backtesting should be evaluated on two axes: granularity, the finest unit of record the dataset preserves, and gaps, the missing periods and source changes the feed leaves visible or hides. A grid bot that evaluates entry and exit bands, for example, needs interval data that matches its band-check rhythm; a strategy reacting to individual trades needs trade-level records; and either evaluation breaks down when the dataset omits gaps or splices sources without marking the change. This article catalogues the common failures on each axis, the symptom each produces, the fix that prevents it, and the vendor due diligence question that exposes the problem before purchase. Crypto trading and derivatives analysis may be restricted or prohibited in some jurisdictions, so the buyer should obtain local legal advice before any deployment; the material is technical information, not investment advice, and carries no profit, yield, or performance guarantee.

The two axes: how history is actually preserved

Granularity defines what the dataset can show. A one-minute candle series aggregates trades within each minute into open, high, low, close and volume, hiding the order inside that interval. A trade series preserves individual prints with their timestamps and sizes. An order-book snapshot series preserves depth only at recorded instants, with the book’s state between snapshots unknown. The right granularity is the one that matches the strategy’s reaction level; finer than needed adds storage and processing, coarser than needed hides the events the rule depends on.

Gaps cover every place the dataset does not represent real market activity: intervals where the venue feed failed, periods before a pair was listed or after it was delisted, records split between two upstream sources, and revisions that alter past values. A gap should be marked as missing, not filled with an interpolated or carried-forward value that reads as real activity. The diligence question behind both axes is simple: what does the buyer receive for each series, and what is missing from it. Providers may under-disclose gaps because aggregation tools hide outages in summaries, because older segments were collected with weaker monitoring, or because a migrated feed carries its own processing differences. None of these excuses the omission, but they explain why a clean-looking table can conceal broken underlying records. The ways backtest results fail to repeat live are discussed in why bot backtests rarely repeat, and history quality is a recurring source of that gap.

Catalogue one: granularity mismatches between series and strategy

Failure one: the strategy reacts to trade-flow events but the dataset supplies only candles. Symptom: the backtest enters or exits on interval summaries that compress the intra-interval sequence, so fills look smoother and earlier than they would have been. Fix: obtain a trade-level series for the reaction horizon, or narrow the strategy to the interval the dataset actually supports. Diligence check: ask which record types exist for each pair and product, and confirm the finest series covers the full test window rather than only recent months.

Failure two: the strategy sizes against available depth but the dataset has no book snapshots. Symptom: the backtest assumes the book absorbs the copied or ordered size at the recorded price, ignoring the depth that would have constrained execution in a thinner market. Fix: use depth-aware snapshots for sizing rules, or frame the sizing rule only around intervals where depth data exists. Diligence check: request snapshot intervals, the number of depth levels retained, and whether stale snapshots are flagged.

Failure three: interval definitions do not match the strategy’s clock. Symptom: candles stamped on a different boundary or timezone than the harness assumes, so a band check aligns to the wrong interval and signals appear where none existed. Fix: confirm the interval definition, timezone, and clock convention in writing, and align the harness to the feed’s convention rather than the reverse. Diligence check: request a sample file with timestamp formatting and the source clock stated in the documentation. Grid bot band and spacing choices that depend on interval alignment are covered in grid bot range and spacing parameters, and the data interval should match how those parameters are evaluated.

Failure four: futures or leverage rules are evaluated on spot history. Symptom: the backtest treats a contract strategy as if it traded spot, omitting margin, funding, and liquidation conditions that govern leveraged positions. Fix: obtain the relevant contract series with funding and settlement records, and evaluate the leveraged rule against that dataset. Diligence check: list the contract products covered and whether funding history is included as part of the series or as a separate endpoint. Buyers should also confirm whether the contract series reflects the actual contract specifications over the period, since expiry, rollover, and settlement mechanics differ across instruments and over time.

Catalogue two: missing periods, stale feeds, and spliced sources

Failure five: a missing interval is carried forward or interpolated. Symptom: the dataset shows continuous prices through a data outage, and the backtest treats that period as real market activity, entering trades on information the harness never held. Fix: require missing periods to be marked gaps, exclude them from signal generation, and record how many intervals were dropped. Diligence check: ask whether missing data is filled, removed, or flagged, and request a gap report for the intended window.

Failure six: history is spliced between two upstream sources without a marker. Symptom: a pair’s series changes source, timestamp convention, or processing method partway through the window, producing a silent break that the harness reads as a market shift. Fix: obtain the source boundary dates, keep source metadata with each record, and split evaluation at any marked break. Diligence check: ask which venues or feeds each series originates from, and whether any historical segment was migrated from a different source. At a splice point, the two sources may record the same pair with slightly different prices or depths, and the backtest should not treat that difference as a tradable move.

Failure seven: delisted or vanished pairs are excluded from the dataset. Symptom: the backtest evaluates only pairs that survived to the present, omitting those that faded or delisted, so the sample excludes the unfavorable outcomes that would have appeared in live selection. Fix: request records for delisted pairs over the test window, and design the selection rule to consider them; where the vendor cannot supply them, record the limitation. Diligence check: ask whether coverage includes currently listed pairs only, and whether historical records for removed pairs are retained.

Failure eight: past records are revised after publication. Symptom: a later download changes earlier values, so the same rule run twice produces different results and the earlier result cannot be reproduced. Fix: freeze source files with retrieval date and version, and check the provider’s revision policy before building the pipeline. Diligence check: ask whether historical batches are final once published, and how corrections to past records are communicated.

Diligence questions that expose data problems before purchase

The due diligence conversation should cover the dataset rather than the marketing summary. Request a sample file for the intended pair and product, read its timestamp and interval definitions, and check whether missing records appear as gaps or are silently filled. Ask for the coverage list over the test window: pair list, listed and delisted products, and any segments sourced from a different feed. Ask how bulk history is accessed, whether older series carry separate tiers, and what the refresh and revision policy is. The buyer should also ask how many records are typically excluded from a sample, whether corrections to bad records are documented, and what support channel handles a reported data-quality issue across the vendor’s own support timezone.

References and prior buyers can answer operational questions the vendor’s summary omits: whether gaps appeared before deadlines, whether schema changes broke loaders, and how data-quality reports were handled. General vendor due diligence steps before the first conversation are listed in the vendor diligence checklist, and the data-specific questions here supplement that baseline. Buyers should treat a vendor who cannot produce a sample, a gap report, or a source description as unproven rather than relying on an advertised history length.

Records to keep for a reproducible backtest

The reproducibility record holds the source files with retrieval dates and provider versions, the coverage and gap report for the window, the interval and timezone conventions, and any source boundaries or delisted-pair exclusions noted in diligence. Each backtest run references the exact dataset version it used, so a reported result can be traced to the records behind it. Validation scripts should check timestamp ordering, missing intervals, and series continuity before the evaluation runs, and flag anything that breaks the baseline rather than continuing silently. The record should also note the file format and schema version, so later downloads can be checked against the original layout before being loaded.

Periodically, the buyer should refresh the gap report as history extends, check whether new batches follow the same conventions, and confirm that revised records do not alter frozen earlier files. Validation should also compare a recent sample against the venue’s own public history where available, so a processing drift that appears after onboarding is caught early. Where the buyer’s jurisdiction restricts trading or derivatives analysis, the legal position should be reviewed before the dataset is used for any live decision. The material above describes how historical data granularity and gaps are checked for backtesting; it does not recommend any vendor, pair, or strategy, and it presents no projection of how a bot would perform under live market conditions.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *