Tasks
Seven research problems on CME currency futures, one for each station of Marcos López de Prado’s alpha assembly line. The GPT-6.2 Sol baseline gives the agent one fresh session per task. Below are the questions, the inputs and how each submission is scored.
One task per station
Every task works the same way. An agent gets the task text, the data of the practice days and a machine, and hands in one Python program. A fixed program scores it once, on later days that the agent never saw. The task descriptions use the study report’s comparison scale. On that scale the naive program scores 0 and the frozen reference program scores 1 when both have finite Test scores and the reference beats the naive program. A program may beat the reference, and no task has a perfect answer. Each station of the line asks one question, in which X stands for what is known at a moment and y for what happened next.
1. Data curation: rebuild the trades from the quotes
- Question
- Can the data be framed as examples?
- The job
- The program gets the eight futures’ quotes one trading day at a time: every change in the best bid and ask and their sizes, but no trades. For every ten seconds from 07:00 to 20:00 UTC it returns the volume bought and the volume sold by traders who crossed the spread.
- The score
- The loss is the squared gap between the square roots of the rebuilt and the true volumes. A naive program that predicts each half hour’s historical average scores 0; the frozen reference, gradient-boosted trees on summaries of the quote changes, scores 1.
- Why it matters
- Many markets, OTC currencies above all, publish quotes but no trades, and so no volume and no record of who bought or sold. A curator who can rebuild them from the quotes gives such markets the raw material of bars and features. On the futures both streams exist, so the true answer is known.
2. Feature analysis: will the next order be a buy?
- Question
- Has X predicted y?
- The job
- After every order in the eight futures, the program states the probability that the next order in the same future is a buy. It sees the trades and quotes as they arrive and answers on the spot. A forecast counts only if the next order was executed at the exchange more than 50 milliseconds after it, so that no program is rewarded for an order that had already happened.
- The score
- The loss is counted in bits, so a confident miss costs more than a cautious one. Always saying 50% scores 0; the frozen reference, gradient-boosted trees on features of recent orders, scores 1.
- Why it matters
- Orders do not arrive at random: buys tend to follow buys [2]. Whoever can tell the side of the next order knows a little about the next price move, and execution and market making rest on that.
Why does the 50-millisecond gap matter? The case study follows the timing check that led to this rule.
3. Strategy development: hedge an option on unseen currencies
- Question
- Why should X predict y?
- The job
- Every quarter hour a one-hour straddle starts: it pays how far the future’s price has moved, up or down, by the end of the hour. The program names the straddle’s price, then sets its position in the future every second, at the real bid and ask, to replicate the payoff. It is scored on currencies left out of its training data.
- The score
- The loss adds the replication error, what the price and the trades leave unmatched, to the cost of crossing the spread. Pricing from the day’s volatility without trading scores 0; the frozen reference, a gradient-boosted forecast of the move with a hedging band, scores 1.
- Why it matters
- A pattern becomes a strategy only with a reason to hold in the future [4]. A backtest cannot prove the reason, but it can test a consequence: a method built on a real mechanism also works on markets it was never fitted on.
4. Testing: discovery or fluke?
- Question
- How likely is a false positive?
- The job
- The benchmark searches 10 to 100 candidate signals at a time on some of the futures and keeps each search’s winner as a claim: this signal predicts the price’s next move. Given the search’s full record, every signal tried, the program forecasts, as a mean and a spread, how strongly each claim will hold on other futures over nine later days.
- The score
- The loss is the continuous ranked probability score, which judges the whole forecast against the outcome. A forecast from earlier claims of the same kind scores 0; the frozen reference, which re-tests each winner with blocks of its search data left out in turn, scores 1.
- Why it matters
- The best of many tries looks good by luck [3], and even a true pattern may not carry over to other markets or later days. Here both can happen, on real searches with nothing planted. Only what survives testing goes on to become positions.
5. Deployment: two prototypes, one time limit
- Question
- Can the prototype run fast and unchanged?
- The job
- The program gets two slow, exact prototypes from López de Prado’s book: structural-break statistics, a regression for every window that ends at a point, and an entropy estimate of the price’s moves. On four futures it must answer about 1.5 million queries within 300 seconds, more than exact computation can finish. Time itself is not scored.
- The score
- Each answer earns up to 8 digits of agreement with the exact value, measured against the spread of the true values. On validation, computing a few short windows scores 0 and the frozen reference, exact at selected points and approximate between them, scores 1. The evaluator uses those same validation anchors on Test.
- Why it matters
- Deployed code must be “logically identical to the prototype” and fast, and the book names the structural-break statistics as a case for the deployment team [4]. A deployment unlike what was tested cost the broker Knight Capital some 460 million dollars in about 45 minutes in 2012 [5].
6. Portfolio oversight: a risk limit for every order
- Question
- Does the strategy behave as expected?
- The job
- Two execution rules are deployed in each future. Every minute a buy and a sell of one contract arrive, and each rule waits up to 60 seconds before it crosses the spread. Before each order the program states how bad its cost may get under each rule: the 90, 95 and 99% quantiles.
- The score
- The pinball loss scores each quantile: it charges a limit set too low for the costs above it and one set too high for its slack, so the true quantile is the best answer. The rules’ historical quantiles score 0; the frozen reference, a linear quantile regression on 14 market features, scores 1.
- Why it matters
- A deployed strategy gets more capital while it behaves as expected and less as it decays [4]. Watching it takes more than its average: a limit on how bad an order may get, breached as often as it claims, no more and no less.
7. Portfolio implementation: move a basket at the least shortfall
- Question
- How cheaply can the positions be reached?
- The job
- Every ten minutes a basket arrives: four buys and four sells, one in each future, each about five times the size usually shown at the best price. Every second the program chooses, per leg, how much to rest at its own best price and how much to cross the spread; after ten minutes the rest is crossed. At the limit price, an opposing trade fills a resting order only with volume beyond the queue ahead. An on-book trade through the limit price fills the whole resting order.
- The score
- The cost is the basket’s shortfall against the mid prices at arrival; a session’s loss adds half its standard deviation to its mean, so risk counts. Crossing everything at once scores 0; the frozen reference, which also weighs the basket’s risk, scores 1.
- Why it matters
- While a basket’s legs are open, the unfilled remainder is a position, so the legs cannot be worked one by one. The gap between a paper portfolio and the real one, the implementation shortfall [6], can be large [7].
Built, not in round one
Three more tasks are built in the engine and kept, but are not part of round one.
- Execution cost of mandatory orders: every five minutes the program must buy one contract and sell one contract in each of the eight futures. For up to 60 seconds it chooses each second to cross the spread or wait, and it is scored on the cost it saves against half the spread at the order’s arrival.
- Next-hour volatility: at every full hour, a forecast of how much each of the eight futures will move in the coming hour.
- Duration of the next dollar bar: at the close of each bar of fixed traded value, how long the next one will take.
Why no task simply says “make money”
At short horizons, costs eat the edge. The table shows, for each future, what a round trip costs and how often a trade must be right just to pay for it.
| Break-even | |||
|---|---|---|---|
| Contract | Round trip | 1 bar | 20 bars |
| EUR | 0.80 bp | 69% | 54% |
| JPY | 1.50 bp | 68% | 54% |
| GBP | 1.38 bp | 79% | 56% |
| CHF | 0.85 bp | 64% | 53% |
| AUD | 1.46 bp | 75% | 55% |
| CAD | 1.44 bp | 88% | 58% |
| NZD | 1.79 bp | 75% | 55% |
| MXN | 3.52 bp | > 100% | 63% |
The two published runs, on an earlier version of the next-order task, called the side right about 61% of the time. That is below the break-even rate of every future in the table for a trade held one bar. A score in profit would then mostly rank luck and rare trading. So the tasks score forecasts as forecasts, and money enters where it can be measured: as the cost of the trades a task requires when a program hedges an option (station 3) or moves a basket (station 7), and as the range of an order’s cost (station 6).
Rules for all tasks
- The agent works alone and hands in one Python program. It has no internet: it reaches its model through a gateway, never sees a password or a key, and gets no hints.
- The data is cut in time. The agent gets the practice inputs its task allows. The exam days stay sealed from agents and dream passes. Every scored period lies after the knowledge cutoff of every model in the study.
- A fixed program scores the handed-in program once, on the exam days, and no result goes back to the agent.
- A program may score below 0 or above 1 on the study report’s comparison scale.
- A run that fails scores 0. In the four tasks where a program sees the outcomes arrive and could follow its own score (stations 2, 3, 6 and 7), a run that fails partway scores the lower of 0 and the score of its answers so far, with the naive program’s answers for the rest: failing on purpose never pays.
- Each run has a fixed time limit, from five minutes to an hour depending on the task. Time never enters a score.
- Every model request is counted and priced at public API rates, dream passes included, and every run’s time is measured. Every way of working uses the same model, the same effort setting and the same machine.
- The data is licensed from LSEG. It never leaves the machine, and raw data is never published.
References
- M. López de Prado. “Financial Machine Learning: An Engineering Problem.” Lecture slides, versions of 2021 to 2025.
- F. Lillo and J. D. Farmer. “The Long Memory of the Efficient Market.” Studies in Nonlinear Dynamics & Econometrics 8(3), 2004.
- M. López de Prado and D. H. Bailey. “The False Strategy Theorem: A Financial Application of Experimental Mathematics.” The American Mathematical Monthly 128(9), 2021.
- M. López de Prado. Advances in Financial Machine Learning. Wiley, 2018.
- U.S. Securities and Exchange Commission. “In the Matter of Knight Capital Americas LLC.” Release No. 34-70694, 2013.
- A. F. Perold. “The Implementation Shortfall: Paper versus Reality.” The Journal of Portfolio Management 14(3), 1988.
- D. J. Leinweber. “Using Information from Trading in Trading and Portfolio Management: Ten Years Later.” Caltech Social Science Working Paper 1135, 2002.
Updated November 2026.