Futures Tick Data vs. NinjaTrader: Reconcile Trades, Timestamps, and Bars

Match MNQ 09-26 with MNQU6, preserve 100-nanosecond timestamps, check volume, and align bar labels without deleting real trades.

Published 6 min read

One contract, one window, one kind of event

A tick comparison can fail before the first price is read. One side may hold a dated contract while the other holds a continuous series. Or one has trades and the other has bid updates. A small export with unambiguous meaning prevents that wasted afternoon.

In NinjaTrader 8, open Tools → Historical Data → Export. Choose a dated instrument such as MNQ 09-26, then select Tick, Last and a narrow date range. NinjaTrader’s export documentation says historical exports use UTC and end-of-bar timestamps. Save the file beside the external dataset, not inside a live data directory.

On the other side, download the free MNQ raw-tick sample. It has 100 retained NQU26 trade records from September 1, 2026, in chronological order. These are raw dated-contract trades, not adjusted continuous prices or OHLC bars. MNQU6 and MNQ 09-26 are different vendor names for the same September 2026 contract.

ChoiceRequired settingWhy it matters
InstrumentThe same dated expiry on both sidesA continuous symbol can change its source contract
Market dataLast or trade recordsBid and ask updates are different events
WindowThe same inclusive start and exclusive end in UTCLocal dates can select different sessions
PrecisionSubsecond ticks, not a one-second exportRounding can merge distinct observations

A one-microsecond difference a chart cannot show

Skip the screenshots for now and inspect the records. These are real rows from the free MNQ sample, displayed in UTC:

Timestamp (UTC)PriceVolumeTrade count
2026-09-01 00:00:00.00300029,501.2511
2026-09-01 00:00:00.01800029,501.5011
2026-09-01 00:00:00.02400029,502.0011
2026-09-01 00:00:00.02400129,502.0011

The third and fourth records are one microsecond apart. Their order matters, even though chart pixels will probably put them in the same place. A one-second text export can also make several records appear to share a timestamp.

Six checks for reconciling futures ticks: dated contract, trade event type, UTC instant, subsecond precision, volume meaning, and bar boundary rules.
Work from left to right. A price mismatch is easier to diagnose after contract, time, and event-type mismatches have been ruled out.

Run these checks before calculating a difference statistic. If instruments disagree, stop there. Normalize timestamp zones before joining. Only then does a price, volume or row-count comparison describe a data problem rather than a setup problem.

Seven fractional digits, not milliseconds

NinjaTrader’s import format accepts a date, time, exactly seven fractional-second digits, price and volume, separated by semicolons. Seven digits represent 100-nanosecond units. Supplying milliseconds without padding changes their meaning.

This PyArrow converter writes the standard Last tick format. It preserves order, truncates instead of rounding to 100 nanoseconds, and formats prices without binary floating-point noise. Try it on the small sample first.

from datetime import datetime, timezone
import pyarrow as pa
import pyarrow.parquet as pq

source = "cme.mnq.tick.MNQU6.2026-09-01.parquet"
table = pq.read_table(source, columns=["ts", "price", "volume"])
times_ns = table["ts"].cast(pa.int64()).to_pylist()
prices = table["price"].to_pylist()
volumes = table["volume"].to_pylist()

with open("MNQ 09-26.Last.txt", "w", encoding="ascii", newline="
") as out:
    for time_ns, price, volume in zip(times_ns, prices, volumes):
        seconds, nanoseconds = divmod(time_ns, 1_000_000_000)
        instant = datetime.fromtimestamp(seconds, timezone.utc)
        fraction_100ns = nanoseconds // 100
        price_text = f"{price:.8f}".rstrip("0").rstrip(".")
        out.write(
            f"{instant:%Y%m%d %H%M%S} {fraction_100ns:07d};"
            f"{price_text};{volume}
"
        )

The first two output lines should be:

20260901 000000 0030000;29501.25;1
20260901 000000 0180000;29501.5;1

Here 0030000 means 3 milliseconds expressed in 100-nanosecond units. Check that known row before importing the whole file. The two source records at 24,000,000 and 24,001,000 nanoseconds become 0240000 and 0240010. A source timestamp between 100-nanosecond boundaries loses its remainder during conversion. That expected truncation can produce identical destination timestamps; it is not a reason to delete a row.

Count the lines as you convert. The sample should produce exactly 100, with the same total volume as the source. Those checks catch accidental filtering, a malformed loop and numeric parsing mistakes before they become a misleading chart comparison.

During import, select NinjaTrader format, Last and UTC as the source time zone. NinjaTrader converts imported observations to local PC time for use on the machine. Leave the text unchanged so another person can reproduce the comparison.

This is a Last-trade import, not a Tick Replay import. Tick Replay’s text format also requires bid and ask prices. The dataset’s bid_sz and ask_sz cannot fill those positions because they are volumes.

Volume can match when row counts do not

Timestamp-based deduplication is unsafe for ticks. Several trades can arrive within the platform’s representable interval, and distinct records can share prices too. Even conversion to 100-nanosecond units can make adjacent timestamps identical. Retain input order and add a row sequence number if a join needs a unique key.

volume is the number of contracts represented by the retained record. trade_count is the number of trades it represents. One row is not necessarily one contract or one original exchange trade. A platform that stores prints differently can show a different row count while total volume agrees.

Compare selected records first, then total volume, total trade count where available, and finally individual rows. If volume agrees but row count does not, investigate aggregation before declaring missing trades. If both disagree, recheck contract, event type and time window.

bid_sz is not a bid price

Here, bid_sz and ask_sz describe executed volume classified at bid or ask. They do not describe the resting queue or provide a historical best-bid/best-ask series. Delta calculations can use those classifications; quote reconstruction cannot.

NinjaTrader’s Tick Replay documentation makes a related distinction: Tick Replay handles Last events and the best bid and ask associated with each trade, not every historical bid and ask update. It also warns that Tick Replay was not designed to reproduce exact order fills. Manufacturing quote prices from size fields to satisfy an import schema would be worse than leaving them out.

14:30 here can be 14:31 in NinjaTrader

Monthly Parquet bars use left-labeled, left-closed UTC buckets. A one-minute bar stamped 14:30 contains eligible observations from 14:30 inclusive to 14:31 exclusive. NinjaTrader exports use end-of-bar timestamps, so the corresponding label is 14:31. Shift one label convention deliberately before joining; never shift prices to make rows agree.

Check what went into each bar too. Published bars omit empty intervals and exclude zero-volume price records from OHLCV aggregation. Daily bars follow a Chicago 17:00 session boundary with daylight-saving handling, not UTC midnight. Catalog bars also come from adjusted continuous ticks, so a raw dated-contract export will not share that price scale across every roll.

For a clean test, build bars yourself from the same raw dated-contract ticks on both sides. Specify interval, timezone, label, empty-bucket rule and volume filter. NinjaTrader’s import documentation also notes that generated bars can differ from bars supplied by another feed when timestamp granularity or construction differs.

Explain the mismatch instead of deleting it

Independent feeds can retain, aggregate and timestamp events differently. Deleting inconvenient rows until two files agree proves nothing. Record the instrument, feed, export settings, filenames, UTC window, row counts, total volume, timestamp precision and first unexplained records. That gives you a narrow explanation to test.

Observed symptomCheck firstAvoid
Rows appear hours apartUTC source setting and PC display zoneApplying a fixed offset all year
Many rows disappear after cleaningTimestamp-based deduplicationAssuming equal timestamps mean duplicates
Volume matches but row count does notTrade aggregation and export granularityCalling every extra row a duplicate
Prices differ near expiryDated versus adjusted continuous pricesSubtracting an adjustment from raw evidence
Bars are one interval apartStart-of-bar versus end-of-bar labelsDiscarding the first or last bar

An exception report should include 10 or 20 source rows on each side, not just a mismatch count. Once a difference has a reproducible cause, encode that rule in the importer and test it on another small window. Then scale up.

Start with the anonymous MNQ dataset and raw-tick sample, using the schema and bar documentation beside the platform export. For execution research, continue with the MNQ Parquet validation workflow. It covers structural checks, resampling, continuous prices and dated-contract P&L.