There are people in this world who are paid very well to do exactly what you are about to learn. They write mathematical formulas that predict stock prices. They work for hedge funds. They attended MIT and IIT and Oxford. And they use the same platform you are about to open.
“The machine that helped write this lesson also helped write the research papers you have been reading all semester. Today you will use it to build something real. The formula you submit will have your country’s name on it.”
In Lesson 01, you read that Ahmes the scribe wrote a mathematical approximation 3,650 years ago, and that your teacher’s 2026 paper rediscovered the same ratio using a modern framework. The same four operators — C, K, F, U — that appeared in that papyrus, in Galileo’s margins, in the autophagy chapter, in the Chladni plates — appear today in the most sophisticated financial research platforms on earth.
You did not come this far in the series to fill in a worksheet. Today you build something.
| Lesson Basics | |
|---|---|
| Topic | Quantitative Finance · Claude Integration · Platform Walkthrough · TO/TOGT Operators |
| Objective | Write, simulate, and submit a passing alpha on WorldQuant Brain using Claude as your research partner. Add to the USA IQC country score. |
| Level | B1–B2+ — no finance background required. Mathematical curiosity required. |
| Duration | 120 min (can extend to 150 with the extension activity) |
| Skills | Reading technical instructions · AI prompting · Data interpretation · Reflective writing |
| Grammar | Imperative mood (instructions) · Conditionals: if the Sharpe ratio is … then … · Passive: the formula is evaluated by… |
| Tools needed | WorldQuant Brain (free account) · Claude (free account) · Chrome + Claude Extension (optional but powerful) |
Your teacher writes this on the board and reads it aloud:
Discuss in pairs (7 min), then share with the class (5 min):
Your teacher wrote this lesson with Claude. The Principia Orthogona papers were edited with Claude. The Lean 4 proofs were reviewed with Claude. Claude is not a search engine and not a calculator. It is a thinking partner. It makes mistakes — you need to verify what it says. But it will help you understand things faster than any textbook, in your own language, at your own pace.
Open claude.ai now. If you use Chrome, install the Claude Extension — this lets you use Claude on any webpage, including the WorldQuant simulator, without switching tabs.
Copy this prompt into Claude. Read the answer together as a class. What does Claude say? Is it clear? What do you want to ask next? There are no wrong follow-up questions.
→ Open Claude and try this now📌 Chrome users: with the Claude Extension installed, you can highlight any word on the WorldQuant platform and ask Claude to explain it — without leaving the page.
| Term | Plain English meaning |
|---|---|
| alpha | a mathematical formula that predicts which stocks will do better than others |
| universe | the pool of stocks your formula examines (e.g. the 3,000 most traded US stocks) |
| simulate / backtest | test your formula on historical data to see how it would have performed in the past |
| Sharpe ratio | return relative to risk. How much you earn per unit of risk. Must be > 1.25 to pass submission checks. |
| fitness | WorldQuant’s combined quality score. Must be > 1.0 to submit. |
| turnover | how often your formula changes which stocks it holds. Very high = too expensive in practice. |
| operator | a mathematical function applied to data (rank, ts_mean, ts_rank…) — the same word as in TO/TOGT |
| neutralization | removing general market bias so your signal is specific, not just “stocks go up” |
| decay | how quickly the signal fades. Decay = 4 means it halves every 4 days. |
| IS testing status | the set of 8 checks the platform runs on your formula. You need all 8 to pass before you can submit. |
| self-correlation | how similar your new formula is to a formula already submitted. Must be below 0.7 to pass. |
| submit | send your passing alpha to WorldQuant’s live pool; it contributes to the IQC country score |
Compare Claude’s sentences to what you wrote in your notebook. Which is clearer? Why? You are allowed to disagree with Claude.
→ Get example sentences from ClaudeYou have seen these operators in every lesson this semester. Ahmes used them to compress a circle into a square. Galileo used them to fold Ptolemy’s universe into Copernicus’s. A cell uses them to decide whether to eat itself. Today they appear in a financial simulator.
Go to platform.worldquantbrain.com/simulate.
Step 1 — Set your universe (Operator C).
In the right panel: Region: USA · Universe: TOP3000 · Language: Fast Expression · Neutralization: Subindustry · Decay: 4 · Delay: 1 · Truncation: 0.08 · Pasteurization: On
Why these exact settings? These are the settings that led to two successful submissions in real research conducted for this lesson. The combination of Subindustry neutralization and Decay=4 creates a signal that is specific enough to score well but stable enough to pass all IS checks. Do not change them for your first alpha.
Step 2 — Write a formula (Operator K). Type one of these into the code editor. Start with Alpha 1:
Step 3 — Simulate (Operator F). Click Simulate. Wait 3–5 minutes. The backtester tests your formula against years of real data. It will stall near 35% for a while — this is normal. Do not click away.
Step 4 — Read your results. When simulation finishes, click Show test period to reveal the TEST stats. Then scroll down to find IS Testing Status.
Step 5 — Check IS Testing Status. Expand the green PASS and red FAIL sections. You need 8 PASS / 0 FAIL. After the first 7 checks, click Check Submission to trigger the self-correlation check. It will show PENDING for a moment.
Here is what a perfect result looks like — all 8 checks green:
| Check | Threshold | What it means | Example result |
|---|---|---|---|
| ✅ Sharpe | ≥ 1.25 | Good risk-adjusted returns | 2.43 |
| ✅ Fitness | ≥ 1.0 | Strong overall quality score | 1.84 |
| ✅ Sub-universe Sharpe | ≥ ~0.21 | Works in a smaller subset of stocks too | 0.63 |
| ✅ Low Turnover | < ~0.7 | Does not trade too frequently | 20.18% |
| ✅ Returns | > 0 | Positive annualised returns in IS period | 11.57% |
| ✅ Drawdown | within range | Does not lose too much at any one time | PASS |
| ✅ Margin | within range | Adequate profit margin per trade | PASS |
| ✅ Self-correlation | < 0.70 | Different enough from existing submissions | 0.31 |
Step 6 — Submit (Operator U). If all 8 checks pass, click Submit Alpha. Your alpha enters the WorldQuant live pool. The USA aggregate score goes up. You just contributed to a global scientific competition from a classroom in Newark, NJ.
When your alpha fails — and it will fail on the first try for most people — paste this prompt into Claude with your actual numbers. Use Claude’s suggestions to modify your formula and try again. Failure is not the obstacle. It is the lesson.
→ Ask Claude to help fix your failed alpha📌 Chrome Extension: right-click any term in the simulator results and ask Claude to explain it without leaving the page.
Valid data fields you can use in your formula: sales, income, assets, equity, liabilities, income_tax, close, vwap, open, volume, returns, adv20
Fields that look reasonable but do NOT exist on this platform (they will produce an error): earnings, net_income. If you see "Attempted to use unknown variable", check this list first.
Operators that do NOT exist: ts_max will produce "Attempted to use inaccessible or unknown operator". Use ts_rank instead when you need to find the highest value in a window.
This section is about something that happened in the real research that built this lesson. It is one of the most important things you can learn about quantitative research — and about problem-solving in general.
What is self-correlation? Imagine you already submitted a recipe for chocolate cake. Now you try to submit another recipe that is 99% the same — just slightly more vanilla. The competition says: “This is not a new idea. It is the same idea with a small change.” Self-correlation measures this. If your new formula produces rankings that are 70% or more similar to a formula you have already submitted, it fails.
Why does this matter? The original submitted formula used this price signal:
Every formula that tried to replace this with a similar z-score — using different time windows (3 days, 5 days, 63 days), different price data (open, vwap), different volatility measures — produced self-correlation between 0.87 and 0.9987. All failed. The machine recognized the family resemblance even when the numbers changed.
The breakthrough: switching from a parametric z-score to a non-parametric ranking operator.
-ts_delta(close, 1) / ts_std_dev(close, 33)
Measures the size of the price move relative to recent volatility. Any variation of this — different window, different data — produces a signal so mathematically similar that the platform recognises it as the same idea.
-ts_rank(close, 3)
Asks: where does today’s price rank within the last 3 days? It does not measure size at all — only position. This is structurally different. The platform treats it as a genuinely new idea.
The winning formula — submitted and now ACTIVE, contributing to the USA IQC score:
What each part does, in plain English:
This is a real conceptual insight from professional quant research. If you understand this, you understand something that many finance graduates do not clearly know.
→ Explore parametric vs non-parametric with ClaudeRecord your results below. The first two rows show real submitted alphas from the research that built this lesson — with their actual metrics. Rows 3–5 are for you to simulate yourself. In the last row, invent your own formula. Use Claude to write it in the correct syntax.
| Alpha | Formula | Sharpe | Fitness | Pass? | Notes |
|---|---|---|---|---|---|
| ⭐ Real #1 | rank(ts_decay_linear(group_neutralize(rank(sales/close) + rank(-ts_delta(close,1)/ts_std_dev(close,33)), subindustry), 11)) |
2.24 | 1.71 | ACTIVE | Value (sales/price) + z-score reversal. Submitted May 2026. Self-corr blocks near copies. |
| ⭐ Real #2 | rank(ts_decay_linear(group_neutralize(rank(sales/close) + rank(-ts_rank(close,3)), subindustry), 4)) |
2.43 | 1.84 | ACTIVE | Value (sales/price) + non-parametric reversal. The ts_rank breakthrough. Self-corr: 0.31. |
| Alpha 1 | rank(ts_delta(volume, 5)) |
||||
| Alpha 2 | rank(ts_mean(returns, 10)) |
||||
| Alpha 3 | -rank(ts_mean(close/open-1, 5)) |
||||
| Yours | write your formula here | explain your idea in words |
What the real research learned after 30+ attempts: Strong alphas on this platform tend to combine two signals: (1) a fundamental value signal using data like sales, assets, or income divided by close, and (2) a price signal using operators like ts_rank, ts_mean, or ts_corr. Combining both — after group_neutralize by subindustry — produced the highest Sharpe scores.
The key mistake to avoid: using ts_delta(close, n) / ts_std_dev(close, m) as your price signal if you have already submitted one alpha using that family of operators. The platform will flag self-correlation even if you change the window sizes.
Replace the example with your own idea. This is exactly how professional quant researchers work: they start with an observation about human behavior, then formalize it mathematically. Your observation from life — from your country, your industry, your family’s business — is as valid as theirs.
→ Turn your idea into a formula with ClaudeThis is the exact situation that occurred in the real research behind this lesson. If you hit this problem, this prompt will help you understand how to escape it.
→ Ask Claude how to solve a self-correlation failureIn Lesson 01, Discussion Card D asked: “What does it mean that serious academic research comes from your community?” Today you are not just reading research — you are adding to a global scientific competition. Your alpha has the same legal weight as one submitted from a university.
How does that feel? Does it change how you think about what you are capable of? What else have you been told you “cannot do” that might simply not be true?
You used Claude today to explain vocabulary, diagnose a failed alpha, and translate your intuition into a formula. The real research behind this lesson used Claude to run 30+ iterations across two sessions before finding a formula that passed all 8 checks. This is a new kind of collaboration: your intuition about human behavior + Claude’s knowledge of mathematical syntax.
Where else in your life — your work, your English learning, your paperwork, your children’s homework — could this partnership change what is possible? What are you currently doing alone that Claude could help with?
The research that built this lesson tried more than 30 formulas before finding one that passed. The machine did not say “almost” or “you are getting warmer.” It said: self-correlation 0.9987 — FAIL. Then on the next attempt: 0.87 — FAIL. Then 0.9548 — FAIL. Only when the operator family changed completely did the result become: 0.31 — PASS. The breakthrough came from understanding why it kept failing, not from trying harder in the same direction.
In your own life — in your language learning, or something you have been trying to fix — is there a place where you keep trying the same approach and getting the same result? What would it look like to change the operator, not just the number?
C, K, F, U. A 3,650-year-old papyrus. A 16th-century margin. A cell deciding whether to eat itself. A sound wave making patterns in sand. A trading signal on a financial platform. 30 iterations toward a passing alpha. Your teacher argues these are not analogies — they are the same structure in different materials. Compress to what matters. Apply curvature. Fold against reality. Unfold into a stable form.
Do you believe this? If it is true, what else in your life might follow the same four steps? Can you describe something you have learned — a skill, a habit, a relationship — using the words: compress, curvature, fold, unfold?
Option A — Instructions: Write a step-by-step guide for a classmate who missed today. How do you open the simulator? How do you set the universe? How do you write a formula? How do you know if it passed all 8 IS checks? What does a self-correlation failure mean, and what do you do about it? How do you submit? Use the imperative: “Open the website. Click on…” Use at least 8 vocabulary words from Stage 2. This is a real document a real person will use.
Option B — The Idea Behind Your Alpha: Explain your own alpha (the one in the last row of the practice table). What did you observe about human behavior that your formula is trying to capture? Why do you believe it might predict stock movement? What did Claude say when you described it? Did the backtester agree or disagree with your intuition? If it failed, what did the machine tell you, and what would you try next?
Option C — The Question That Does Not Have a Clean Answer:
The WorldQuant Brain platform does not know your name. It does not know where you were born, what your English level is, whether you are documented, or whether you grew up in a place with access to good schools. It only evaluates your formula. You have spent this semester reading research papers, building Lean proofs, learning contact geometry and autophagy and Fibonacci sequences — all of it in a second language, in a classroom at Newark, NJ.
Write your honest answer to this: What do you have to offer that the platform is waiting to discover? This is not a grammar exercise. Write what you mean.
Option D — The 30 Attempts (for stronger students):
The formula rank(ts_decay_linear(group_neutralize(rank(sales/close) + rank(-ts_rank(close,3)), subindustry), 4)) was the result of more than 30 attempts, two sessions, and one key insight: that changing window sizes on a z-score formula is not a structural change. It is the same idea with different clothes.
Write about a time in your own life when you kept trying variations of the same idea and kept getting the same result. What was the structural change that finally worked — or that you still have not found yet? You can write about language learning, about work, about a relationship, about anything real.
group_neutralize and asking Claude: “What does this operator do, and why does neutralizing by subindustry matter?”assets/close or income/close) with a non-parametric price signal (ts_rank rather than ts_delta/ts_std_dev). Wrap it in group_neutralize(…, subindustry) and ts_decay_linear(…, 4). This is the pattern that worked.Save Claude’s response. Work through it at your own pace. This is your personal curriculum — designed for you, by a machine that does not know your limitations and therefore does not impose them.
→ Get your 4-week plan from Claude| # | Activity | Time |
|---|---|---|
| 1 | The Question That Changes Everything | 15 min |
| 2 | Meeting Your Research Partner (Claude) | 15 min |
| 3 | The Operators You Already Know | 10 min |
| 4 | Building Your First Alpha (walkthrough + IS check table) | 20 min |
| 4B | When It Almost Passes: The Self-Correlation Problem | 10 min |
| 5 | Your Own Alpha (includes real submitted examples) | 20 min |
| 6 | Discussion Cards | 15 min |
| 7 | Exit Task (4 options) | 15 min |
| TOTAL | 120 min |
ts_delta/ts_std_dev is a parametric z-score family. ts_rank is a non-parametric ranking family. Switching between families — not just changing numbers — is what produces a structurally different signal.
sales, income, assets, equity, liabilities, income_tax, close, vwap, open, volume, returns, adv20. Do not use earnings, net_income, or ts_max — these will produce errors.
rank(ts_decay_linear(group_neutralize(rank(FUNDAMENTAL/close) + rank(PRICE_SIGNAL), subindustry), 4)) where FUNDAMENTAL is one of sales, assets, income, and PRICE_SIGNAL uses ts_rank, ts_mean(returns,…), or ts_corr(returns, volume, …).
group_rank, ts_corr, and adv20 in the WorldQuant operator library. Which of the four TO/TOGT operators does each correspond to? Ask Claude to explain. Then ask: if ts_delta/ts_std_dev is a K-operator (curvature/transformation), what kind of transformation is ts_rank — and why does the difference between them explain the self-correlation result? There is no single right answer. The discussion is the point.
Hour House is an adult English language learning programme at Newark, NJ 07104.
Help us keep the doors open for immigrant and refugee learners in our community.
📖 Buy the Membership — g6llc.gumroad.com
🛒 Buy the Book — Principia Orthogona on eBay