Becoming a Quantitative Researcher in Futures Markets
A practical starting guide to foundations, tools, data, models, and scientific skepticism — and why the job of a quant is to try to disprove every result.
Abstract
This paper is a starting map for people who want to become quantitative researchers in futures markets. It proposes an order of study for mathematics and finance, introduces a free and low-cost tool stack (Python, NinjaTrader 8, and Databento market data), and describes a progression of models from simple to complex. Its central argument is methodological: the job of a quant is to try to disprove every result, because with enough trials, noise reliably produces strategies that look profitable. A simulation, a falsification toolkit, and a research protocol are included to make that principle concrete.
This document is for education only and is not investment, legal, or tax advice. Futures are leveraged instruments and losses can exceed the capital deposited. Most attempts to profit from trading fail. Software features, pricing, free-credit offers, and exchange rules change; verify every product-specific statement against the vendor’s or exchange’s current documentation before relying on it.
- Introduction: what a quant actually does
- The core discipline: try to disprove everything
- Mathematical foundations, in order
- Finance foundations
- Free and low-cost software
- Data: Databento and futures data
- Models: a ladder of complexity
- How to start: a practical roadmap
- Costs, risk, and realism
- Suggested reading and references
- Appendix A: falsification checklist
01Introduction: what a quant actually does
A quantitative researcher turns questions about markets into testable statistical statements, tests them honestly, and converts the survivors into rules that can be executed at acceptable cost and risk.
The work sits at the intersection of probability and statistics, finance and market structure, and software engineering. The glamorous part — finding a signal — is a small fraction of the job. Most of the time goes to cleaning data, building trustworthy simulations, and trying to break one’s own results.
Futures markets are a good training ground. Contracts are standardized, trading is centralized on an exchange, trade direction is reported by the feed, there is no short-sale constraint, and micro contracts (for example Micro E-mini S&P 500, “MES”) let a learner experience real market mechanics with small notional exposure. The same properties make futures a highly competitive arena populated by professional firms, so beginners should treat their first years as an apprenticeship in method, not as a search for income.
Three questions to ask of every idea
- Who is on the other side of this trade, and why are they willing to take it? A hedger paying for insurance, a benchmark-constrained algorithm, or a forced seller are plausible answers. “The market is wrong” is not.
- Why does this edge still exist? Persistent edges usually compensate for risk, capacity limits, operating cost, or a constraint that others face. If nobody can explain the mechanism, suspect luck.
- What would convince me that I am wrong? Decide this before looking at results.
02The core discipline: try to disprove everything
Markets are noisy, and noise is creative. Given enough parameters, indicators, instruments, and time windows, a researcher will always find some combination that would have made money in the past. The statistical term is data snooping (or the multiple-testing problem): the more variants you evaluate, the more likely the best one is simply the luckiest. A quant’s craft is the systematic effort to separate skill from luck.
A demonstration: luck can look like skill
The figure below comes from a simulation. Each strategy is a series of 252 daily returns drawn from a normal distribution with zero mean, so every strategy has a true Sharpe ratio of exactly zero. We then record the best annualized Sharpe ratio among N such strategies, repeating the experiment 200 times.

Testing a single strategy yields a Sharpe near zero, as it should. Testing 100 variants yields a best Sharpe of roughly 2.4 on median, and testing 1,000 yields roughly 3.3. Either would look publishable in a backtest, yet nothing real exists. A researcher who tries 50 parameter sets on one idea, five instruments, and three time frames has already run 750 trials, whether or not they were recorded.
The statistics of selection bias
- Sampling error of Sharpe. For roughly independent returns, the standard error of an annualized Sharpe ratio estimated over T years is about 1/√T when the true Sharpe is zero. One year of data therefore cannot distinguish a Sharpe of 1 from zero. Equivalently, the t-statistic is about Sharpe × √T.
- Expected maximum under the null. Bailey and López de Prado (2014) approximate the best Sharpe that N independent zero-skill trials would produce (formula below). Any observed Sharpe must be judged against this inflated benchmark, not against zero.
- Effective number of trials. Correlated variants count for less than N independent trials, but estimating the effective number is itself uncertain. Record every trial and be conservative.
- Higher hurdles. Harvey, Liu and Zhu (2016) argue that, given the volume of published factor research, a t-statistic near 2 is too lenient and values above roughly 3 should be expected for new claims.
The same authors’ Deflated Sharpe Ratio turns this into a probability that the true Sharpe exceeds zero after adjusting for the number of trials, return skewness and kurtosis, and sample length.
Common ways results deceive
| Bias | What happens | Typical cause |
|---|---|---|
| Look-ahead bias | The strategy uses information not available at decision time. | Using the bar’s close to trade at its open; using settlement prices intraday; joining data on the wrong timestamp; normalizing with full-sample statistics. |
| Overfitting | Parameters are tuned to historical noise. | Many free parameters relative to independent observations; optimizing over a grid and reporting the best cell. |
| Data snooping | Many ideas are tried and only winners are kept. | Unrecorded trials; “just one more filter”; reusing the same test period. |
| Unrealistic fills | Backtest assumes trades that could not have occurred. | Passive orders filled when price merely touches the limit; ignoring queue position; ignoring latency and impact. |
| Cost omission | Edge disappears after fees and slippage. | Commissions, exchange and clearing fees, spread crossing, and slippage underestimated, especially for high-turnover ideas. |
| Non-stationarity | Relationships change over time. | Regime shifts, tick-size or fee changes, new participants, structural breaks. |
| Dependence in data | t-statistics are overstated. | Autocorrelated returns and overlapping labels treated as independent samples. |
| Roll and data errors | Fictitious profits from contract-roll jumps or bad prints. | Naively concatenated contract months; unfiltered bad ticks; wrong time zones or daylight-saving handling. |
A falsification toolkit
Each test below is an attempt to kill a strategy. A result that survives all of them is not proven, only not yet disproven, which is the most any empirical result can claim.
| Test | Question it answers | How to run it |
|---|---|---|
| Pipeline sanity check | Does my backtester produce zero edge on pure noise? | Run the full pipeline on shuffled or simulated returns. Any “edge” found is a bug. |
| Time-shift (lag) test | Is there look-ahead leakage? | Delay the signal by one or more bars or ticks. Collapse in performance can reveal leakage or latency sensitivity. |
| Permutation (“monkey”) test | Is performance better than random entries with the same exposure? | Randomize entry times while preserving trade count, side mix, and holding periods; compare the distribution of random outcomes with yours. |
| Parameter sensitivity | Is the edge robust or a knife-edge? | Map performance across a neighborhood of parameters. Prefer broad plateaus to isolated peaks. |
| Sub-period and regime splits | Is it stable across years, volatility regimes, and sessions? | Report results by year, by realized-volatility tercile, and by session (Asia, Europe, US). |
| Cross-instrument replication | Does the idea generalize without re-fitting? | Apply the frozen rule to related contracts (e.g., NQ, RTY, YM if developed on ES). |
| Cost and latency stress | Does it survive harsher assumptions? | Double assumed costs; add realistic order and data delay; assume conservative passive fills. |
| Multiple-testing correction | Does it survive the number of trials I ran? | Deflated Sharpe; Benjamini–Hochberg false-discovery control; White’s Reality Check, Hansen’s SPA test, or Romano–Wolf step-down procedures for families of strategies. |
| Purged, embargoed validation | Is out-of-sample performance genuine? | Walk-forward or purged k-fold cross-validation with an embargo to prevent overlapping-label leakage (López de Prado, 2018). |
| True holdout | How does it do on data I never touched? | Reserve a final period, evaluate once, and accept the answer. If you iterate after seeing it, it is no longer a holdout. |
| Mechanism test | Does my explanation make predictions that can fail? | If the edge comes from a constraint (e.g., roll flow), it should be stronger where the constraint is stronger and absent where it is not. |
A research protocol that builds in skepticism
- Write the hypothesis before the test. State the mechanism, the exact signal, the universe, the period, and the success criteria. Date it.
- Keep a trial log. Count every variant you run, including informal exploration. This count feeds the multiple-testing adjustments.
- Split the data first. Set aside a holdout period before exploring. Touch it once.
- Start with the simplest version. Add complexity only when it earns its keep out-of-sample.
- Be most suspicious of your best results. A very high Sharpe from a simple, low-frequency rule is a bug until proven otherwise. Genuine high-frequency strategies can show large Sharpe ratios, but they come with large infrastructure, queue-position, and latency obstacles.
- Seek adversarial review. Explain your result to someone and ask them to find the flaw.
Treat a backtest as a claim to be attacked, not a result to be celebrated. The expected outcome of an honest attack on an idea is that the idea dies. Researchers who accept that early save years.
03Mathematical foundations: what to learn, and in what order
The order below favors the topics that are used every day in empirical finance. Stages overlap; the goal is working fluency, meaning you can implement the idea in code and explain when it fails, rather than memorized proofs.
| Stage | Topic | Why it matters for futures research | Core resources |
|---|---|---|---|
| 1 | Algebra, functions, single-variable calculus, summation and logs | Returns, compounding, log returns, sensitivities, and almost everything downstream. | Any university calculus text or open course |
| 2 | Probability: random variables, expectation, variance, conditional probability, Bayes, law of large numbers, central limit theorem | Language of risk and uncertainty; understanding why averages of noisy data converge slowly. | Wasserman, All of Statistics; Casella and Berger |
| 3 | Statistics: estimation, confidence intervals, hypothesis testing, p-values, power, bootstrap, multiple comparisons | The foundation of the falsification mindset. Misusing p-values is the most common beginner error. | Wasserman; Hastie, Tibshirani and Friedman |
| 4 | Linear algebra: vectors, matrices, eigen decomposition, SVD, projections | Regression, PCA, covariance matrices, portfolio construction, Kalman filters. | Strang, Introduction to Linear Algebra |
| 5 | Regression and econometrics: OLS, assumptions, heteroskedasticity, HAC standard errors, regularization | Nearly every signal study is a regression in disguise. HAC (Newey–West) corrections matter because financial data are dependent. | Hastie et al.; Tsay |
| 6 | Time series: stationarity, autocorrelation, ARMA, unit roots, cointegration, GARCH, realized volatility | Prices are non-stationary; returns have volatility clustering. Spread and pairs trading rely on cointegration. | Tsay, Analysis of Financial Time Series |
| 7 | Optimization: convexity, gradients, constrained optimization, regularization | Fitting models, portfolio construction, execution schedules. | Boyd and Vandenberghe, Convex Optimization |
| 8 | Stochastic processes: random walks, Brownian motion, Poisson and Hawkes processes, Markov chains | Models of price, order arrivals, and queue dynamics. Hawkes processes are standard for trade clustering. | Shreve, Stochastic Calculus for Finance; Bacry et al. (2015) |
| 9 | Machine learning: bias-variance, cross-validation, trees and boosting, regularization, feature leakage | Powerful but dangerous with noisy financial targets; requires financial-specific validation. | Hastie et al.; López de Prado (2018) |
Learn Python alongside the mathematics. Implement every concept: simulate random walks, compute confidence intervals by bootstrap, fit a regression, and break it with a deliberate mistake. A quant who cannot reproduce a result in code cannot trust it.
04Finance foundations
General finance
- Returns and risk. Simple versus log returns, volatility, drawdown, skewness, kurtosis, and the stylized facts of returns: fat tails, volatility clustering, and weak linear autocorrelation (Cont, 2001).
- Performance measurement. Sharpe ratio and its sampling error (Lo, 2002), Sortino ratio, maximum drawdown, and why each can mislead.
- Portfolio theory and factors. Mean-variance optimization, diversification, CAPM, and factor models, including the systematic risk premia that many “alpha” strategies actually capture.
- Market efficiency. The efficient-markets hypothesis as a useful null: prices are mostly unpredictable, and any claimed edge must beat that by default.
- Derivatives basics. No-arbitrage pricing, forwards, options, and the Greeks (Hull).
Futures-specific knowledge
| Concept | What to understand |
|---|---|
| Contract specification | Underlying, multiplier, tick size, tick value, trading hours, expiry months, settlement type. Example: ES moves in 0.25-point ticks worth $12.50; the micro MES is one-tenth the size with $1.25 per tick. Always confirm current specifications on the exchange website. |
| Margin and leverage | Margin is a performance bond, not a down payment. Positions are marked to market daily; variation margin is paid in cash. Margins change with volatility, sometimes abruptly. |
| Cost of carry and basis | Futures price relates to the spot price through financing cost, dividends or storage costs, and convenience yield. Contango and backwardation describe the term-structure shape. |
| Rolling contracts | Each contract expires. Liquidity migrates to the next month before expiry, so research series must handle rolls explicitly. Back-adjusted continuous series are convenient for signal research but distort price levels; compute P&L from actual contract prices. |
| Excess-return nature | A futures position has no initial cash outlay; P&L is points times multiplier. Interest on collateral is a separate matter. |
| Sessions and settlement | Near-24-hour trading with regime changes at the open, close, and key data releases. Daily settlement prices are computed by the exchange and differ from the last trade. |
| Participants | Market makers, arbitrageurs, execution algorithms, hedgers, CTAs, options dealers, and retail traders each have different objectives and constraints. |
Market microstructure essentials
Microstructure is the study of how trading rules and participant behavior shape prices, and it is especially relevant to futures because the order book and trade tape are fully observable. Core ideas:
- The limit order book. Bids, asks, depth, queues, and the priority rules of the matching engine (price-time FIFO, pro-rata, and hybrids). The allocation algorithm changes optimal behavior.
- Spread, adverse selection, and inventory. Market makers earn the spread but lose to better-informed traders. Classic models include Roll (1984), Glosten and Milgrom (1985), and Kyle (1985).
- Price impact. Large orders move prices, and impact is typically concave in order size; Bouchaud et al. (2018) summarize the evidence.
- Tick-size regime. Large-tick contracts (spread usually one tick) are dominated by queue dynamics; small-tick contracts have more price discovery inside the book.
- Information in order flow. Order-book imbalance and signed trade flow carry short-horizon predictive information that decays quickly (Cont, Kukanov and Stoikov, 2014).
05Free and low-cost software
| Tool | Role | Notes |
|---|---|---|
| Python 3 with Jupyter | Primary research language | Core libraries: NumPy, pandas or Polars, SciPy, statsmodels, scikit-learn, matplotlib, and arch (GARCH models). Numba can speed up loops. All are free and open source. |
| NinjaTrader 8 (NT8) | Charting, visual inspection, simulated trading, strategy prototyping, and execution | Free to download for charting, simulation, and strategy development; live trading requires a paid license or lease, and a brokerage or data connection. Strategies are written in NinjaScript (C#). Verify current terms on the NinjaTrader website. |
| Databento Python client | Historical market data access | The databento package downloads data directly into pandas-friendly structures. |
| Git and GitHub | Version control and reproducibility | Commit every analysis; a result you cannot reproduce is an anecdote. |
| Parquet or DuckDB | Efficient local data storage | Columnar formats make tick-scale data practical on a laptop. |
| R (optional) | Statistics and econometrics | Excellent time-series and statistics packages. |
| Open-source backtesters (optional) | Event-driven simulation | Examples include NautilusTrader and VectorBT. Review their fill assumptions before trusting output. |
Using NinjaTrader 8 well
- Division of labor. Use Python for statistical research, where you control the data and tests. Use NT8 to visualize the market, prototype strategy logic, run forward simulation, and, if you choose, execute.
- Backtest realism. Bar-based backtests cannot know the order of events inside a bar. Use tick-level replay options where available, review the fill-assumption and slippage settings for limit orders, and include commissions.
- Optimization is multiple testing. The built-in parameter optimizers generate exactly the selection bias described in Section 02. Treat the best optimizer result as an inflated estimate, and validate on data not used in the search.
- Custom data. NT8 supports importing historical data from text files, so data obtained elsewhere can be converted and loaded. Check NT documentation for the required format.
- Simulation is not live trading. Simulated fills do not model queue position or market impact faithfully. Use paper trading to test logic and plumbing, not to prove profitability.
06Data: using Databento and handling futures data correctly
Databento provides institutional-grade historical and real-time market data through a usage-based pricing model, with direct Python access. For CME futures the relevant dataset is the Globex feed (GLBX.MDP3). New accounts have historically received free credits, which are enough to explore small samples; confirm current offers and pricing on their site, and use the cost-estimation function in the client before large downloads.
| Schema (granularity) | Content | Use case |
|---|---|---|
| OHLCV (1s, 1m, 1h, 1d) | Aggregated bars | Learning, low-frequency research, sanity checks |
| Trades | Every trade with price, size, and aggressor side | Order-flow features, volume analysis |
| TBBO / MBP-1 | Top of book with trades | Spread, quote imbalance, short-horizon studies |
| MBP-10 | Aggregated depth to 10 levels | Book-shape and depth-weighted imbalance |
| MBO | Individual order events | Queue reconstruction, iceberg detection, fill simulation |
| Definition and statistics | Contract specs, settlement and related statistics | Roll handling, tick sizes, settlement analysis |
Start with bars and trades over short windows. MBO data is large and costly to download relative to bars, so move to it only when your question requires it.
Symbology and rolls
- Raw symbols identify an individual contract (such as a specific expiry of ES). Parent symbols request all contracts of a product. Continuous symbols (calendar, volume, or open-interest roll rules) stitch contracts for convenience.
- Decide the roll rule explicitly and document it. Rolling by calendar versus by volume changes your results.
- Compute returns within a contract and only splice at the roll, or use explicit roll-adjusted returns, to avoid fictitious gap profits.
- Prices in Databento’s native format are fixed-point integers; confirm the scaling when converting to decimal.
Data-hygiene checklist
- Timestamps. Distinguish the exchange’s event time from the time the data was captured. Lead-lag and latency studies are meaningless if clocks are not aligned. Store everything in UTC and convert for session logic.
- Sessions and daylight saving. Define the trading day carefully, including the maintenance break, and handle US and European clock changes.
- Bad data. Check for zero or negative prices, outlier prints, duplicated messages, gaps, and crossed books. Decide on filters and apply them identically in research and production.
- Reproducibility. Save raw downloads, record the query parameters, and never overwrite raw data.
- Free supplements. Macroeconomic series from FRED, exchange websites for contract specifications and calendars, and CFTC Commitments of Traders reports for positioning context. Free consumer price feeds are generally unsuitable for microstructure work.