Skip to content

Updated

Financial and market data: test protocol

Are the prices, fundamentals and events right, complete and on time, and does the API keep working when we use it?

Covers Financial Data, Investment Data. This kit has not yet been piloted by outside teams or reviewed by a sales-ops practitioner. Treat it as a starting point and tell us what to change.

What one test record is

One instrument, one date and one field: the vendor's value, and the value in a primary source.

How you know the right answer

  • Prices: the official close or the trade record published by the exchange. Fundamentals: the filing or annual report. Corporate actions: the issuer's or exchange's notice.
  • Say which source you used for each field and keep a copy. A second vendor is not a primary source.

What to measure

Measures for financial and market data
MeasureWhat it countsArithmetic
Accuracy within toleranceValues that agree with the primary source within a tolerance you set in advance (for prices, for example, a fixed number of decimal places; for fundamentals, the rounding the filing uses).values within tolerance / values checked
CompletenessExpected data points that exist: no missing days, quarters or instruments.data points returned / data points expected
Corporate action handlingSplits, dividends and mergers applied correctly in history.adjustments correct / adjustments checked
Point-in-time correctnessA restated figure is shown as it was known on a past date, not rewritten with later knowledge. Matters for any back-test.values matching the as-reported figure / values checked
DelaySeconds or minutes between the source timestamp and the vendor's timestamp, for the feeds you will use.median and 95th percentile of (vendor time - source time)
API success and latencyRequests that return a valid answer, and how long they take, measured from where your code will run.successful requests / requests; median and 95th percentile response time
Coverage by exchange and countryInstruments you need that the vendor carries.instruments found / instruments asked for, per exchange

If you use the vendor's API, also log these for every call: success rate, response time, rate-limit behaviour, cost per usable result. The API log template is on the kit page.

How many records

For a rate, the number of records for a margin of error E at 95 percent confidence is n = 1.96^2 x p x (1 - p) / E^2, rounded up, where p is the rate you expect. The planning rates below are examples to size the test, not claims about any vendor.

Records needed, financial and market data
What you measurePlanning rate pMargin of errorRecords to test
Accuracy or completeness (no idea what to expect)50%plus or minus 5%385
50%plus or minus 3%1,068
Accuracy (you would accept about 99 percent)99%plus or minus 1%381
99%plus or minus 0.5%1,522

Accuracy or completeness (no idea what to expect): 0.5 gives the largest sample, so it is safe when you have no prior.

Accuracy (you would accept about 99 percent): Plan with the rate you would call acceptable, not a market figure. Tight rates need many data points.

The general table, the finite population correction and the arithmetic for comparing two vendors are on the kit page. If your whole list is small, the finite population correction lowers the number: n_adjusted = n / (1 + (n - 1) / N), where N is the size of the list you draw from.

Build a fair sample

  • Draw instruments and dates at random from the universe you will use, including illiquid and recently changed instruments, which are where errors hide.
  • Include dates around splits, mergers and restatements on purpose, and report them as their own stratum.
  • Draw from your own market. The population is the accounts or people you would really buy data for, not a list the vendor chose.
  • Keep it away from the vendor. A held-out list is one the vendor has not seen: not in your CRM if the vendor feeds it, not sent in an earlier trial, not enriched by anyone before. If you cannot be sure, say so in the results.
  • Make it random. Sort a copy of the list by a random number column and take the top rows; never take the first rows of a file or the accounts a rep suggests.
  • Stratify. Split the list into the segments you care about (country, size, seniority, category) and draw a fixed number from each, so small segments are measured too. Report each segment on its own; if you want one overall figure, weight each segment back to its share of your market.
  • Keep the same records for every vendor. Different samples add noise that looks like a difference between vendors.
  • Keep the truth to yourself. The vendor gets identifiers only. Where you can, add a few dozen records whose right answer you know for certain.

Strata to split by for this protocol

  • Exchange or country
  • Market cap or liquidity band
  • Instrument type (equity, fund, bond, currency)
  • Field (price, fundamental, corporate action)

Score it

  1. Count each instrument, date and field once. Report accuracy per field and per exchange, not only overall.
  2. For feeds, run the delay test over a stretch of normal trading and a busy period.
  3. Check the terms: licence for display and redistribution is a contract question and not something a test can show.
  4. Count each record once per vendor and metric. Leave a cell blank when you did not check it; do not guess.
  5. Rate = records right / records checked. Report it with an interval (see the margin of error above, or the Wilson interval for rates near 0 or 1), per segment and overall.
  6. Set the pass mark before you look. A result passes when the whole interval is on the right side of it, not just the single figure.
  7. Add cost: divide what you would pay by the number of usable results to get a cost per usable record, since a cheaper vendor that returns less is not cheaper.

Compare two vendors

Run both vendors on the same records, then use the paired test on the records where only one was right. If each vendor got a different sample, use the two-proportion test. Both are explained with worked numbers on the kit page, and the comparison sheet does the arithmetic row by row.

Pitfalls

  • Comparing one vendor to another vendor. Two vendors that agree can both be wrong; use the primary source.
  • Testing only large, liquid names.
  • Ignoring adjustments. A price that is right on the day can be wrong in a series after a split.
  • Measuring API speed from the wrong place. Measure from the region your system runs in, at the hours you will use it.
  • Vendor-picked samples. A free sample, a demo list or a trial the vendor sets up is chosen to look good. Use your own list, drawn at random.
  • Enriching your own CRM records. If the vendor already supplied your CRM, or you enriched those accounts before, it holds them, and the match rate is flattered. Use records it has not seen.
  • Too few records. A result from 50 records has a margin of error of about 14 points at 95 percent. Work out the sample size first.

More on the kit page.

CSV templates

Financial data: instruments and dates to request

What you ask the vendor for. The primary-source values stay with you.

Columns of financial-sample.csv
ColumnWhat goes in itExample row 1Example row 2
record_idYour own id for the row.F001F002
instrumentTicker or identifier you will use in production.EXAMPLE1SAMPLE2
exchangeExchange or market.Example ExchangeExample Exchange
dateThe date requested, YYYY-MM-DD.2026-03-312026-03-31
fieldclose_price, revenue, dividend or another field.close_pricerevenue
segmentYour stratum.large-capsmall-cap

The example rows are made up. The file has a header and these two rows.

financial-sample.csv

Financial data: scoring sheet

One row per data point per vendor.

Columns of financial-results.csv
ColumnWhat goes in itExample row 1Example row 2
record_idSame id as in the sample file.F001F002
vendorVendor label, for example vendor_a.vendor_avendor_a
segmentYour stratum.large-capsmall-cap
returnedyes if the vendor returned a value.yesyes
vendor_valueThe value the vendor returned.101.254210
source_valueThe value in the primary source.101.254215
within_toleranceyes or no against the tolerance you set in advance.yesno
source_usedWhich primary source you used, for the audit trail.exchange close fileannual report
delay_secondsFor feed tests: vendor time minus source time. Blank otherwise.(blank)(blank)
checked_onDate you scored the row, YYYY-MM-DD.2026-12-012026-12-01

The example rows are made up. The file has a header and these two rows.

financial-results.csv

Before you test

Shortlist the vendors first with the shortlist builder, which can also write a due-diligence questionnaire for the top matches. Then see the whole kit.

Kit text last checked on . Data is updated continuously and may not be the latest. Each provider and fact shows the date it was last checked.