THE DESK · THE QUANT · Nº 1317 · EDITION 1 ·Liquid error (snippets/rm-pairs-card line 27): comparison of String with 0 failed
LUND CARDS · THE DESKNº 1317
THE CARD AS TEXT · FOR EYES AND FOR MACHINES
THE PAIRS CARD · the relative-value seat — measures the spread between two series, as a z-score
WAKES WHEN two related series need their spread measured · a person asks 'how stretched is this pair', 'z-score the spread', 'is this relationship dislocated' · a relative-value relationship needs a disciplined read
THE LOOP
align · the two price series into a spread, ratio or difference
measure · the spread's mean, standard deviation, and current z-score
flag · when the spread is more than two standard deviations from its mean
refuse · a constant spread, a zero denominator, or too few rows
NEVER
Calls a trade on a stretched spread — a spread can stay dislocated longer than a position survives
Gives investment advice or tells anyone to buy, sell, short, or trade
Presents a backtest, model, or projection as a promise of future return — unknown inputs are marked [FILL]
Front-runs, times a trade, or substitutes for a licensed professional's judgment
IT MAKES run — spread, mean, std, and the current z-score, with a stretched-spread flag; selftest — 9 checks that prove the machine.
THE LAW A card builds and checks the analysis — the model, the screen, the thesis. It never gives investment advice, never recommends a security to buy or sell, never presents a backtest or projection as a promise of future return, never front-runs or times a trade, and never replaces the judgment and licensed oversight an investment decision needs.
PROOF SELFTEST 9/9 · witnessed in Claude 2026-10-20 on the studio’s own example inputs · the dated run in the box (RUN.md) · Edition 1.
THE SEAL 98 of 100 · LEGENDARY · WITNESSED · Trigger 5 · Machinery 5 · Law 5 · Portability 5 · Proof 5
IT CAN BE WRONG an AI reading a text file: it can be wrong and can invent a number, a rule, a name or a date; check what matters against your own records and the source; the risk is yours. LICENSE-NOTE.md rides in the packet and is the licence.
THE PUNCH · SHA-256 OF SKILL.MD · F90E3B6CD629DE0845114E18
CITE THIS CARDTHE PAIRS CARD, Edition 1. Lund Studio LLC, Westminster, Colorado. https://lundr.tech/?view=pairs-card. Punch F90E3B6CD629DE0845114E18. Retrieved 2026-10-20.
What it is.
Measures the spread between two series, as a z-score. Measures the spread between two series, as a z-score. Use when two related series need their spread measured. Not for buy or sell calls. For the risk of the pair → THE RISK CARD.
It carries a machine that shows its working: run — spread, mean, std, and the current z-score, with a stretched-spread flag; selftest — 9 checks that prove the machine — 9 checks in its selftest, run in the open below. It never calls a trade on a stretched spread — a spread can stay dislocated longer than a position survives; never gives investment advice or tells anyone to buy, sell, short, or trade; never presents a backtest, model, or projection as a promise of future return — unknown inputs are marked [FILL]; never front-runs, times a trade, or substitutes for a licensed professional's judgment.
The house law, written into the card.
It is in the card itself, so the AI follows it.
THE HOUSE LAW · THE DESKA card builds and checks the analysis — the model, the screen, the thesis. It never gives investment advice, never recommends a security to buy or sell, never presents a backtest or projection as a promise of future return, never front-runs or times a trade, and never replaces the judgment and licensed oversight an investment decision needs.
THE LIMIT, ON THE TINIt measures the past spread you supply; a z-score is a description, not a signal, and a dislocation can be a broken relationship rather than an opportunity.
The method.
Align. The two price series into a spread, ratio or difference.
Measure. The spread's mean, standard deviation, and current z-score.
Flag. When the spread is more than two standard deviations from its mean.
Refuse. A constant spread, a zero denominator, or too few rows.
What it does once your AI has it.
run Spread, mean, std, and the current z-score, with a stretched-spread flag
selftest 9 checks on the studio’s own example inputs; it must print selftest 9/9
What it will never do.
It never calls a trade on a stretched spread — a spread can stay dislocated longer than a position survives; never gives investment advice or tells anyone to buy, sell, short, or trade; never presents a backtest, model, or projection as a promise of future return — unknown inputs are marked [FILL]; never front-runs, times a trade, or substitutes for a licensed professional's judgment.
Where it hands off: The risk of the pair → THE RISK CARD. The size of it → THE POSITION SIZE CARD.
It is an AI reading a text file: it can be wrong, so check what matters against your own records and the source. The holder brings their own AI; no endorsement by Anthropic or any other AI company is claimed. Names of other companies and standards are used only to say what the card works with.
What’s in the buy.
SKILL.md — the door your AI reads first: when it wakes, when it does not, the loop, the never-lines, the house law
CARD.md — the whole card in ten sections, §0 to §9 · TIN.md — what is on the tin, in nine lines
scripts/pairs.py — the machine, Python standard library only, offline; selftest 9/9
RUN.md — the dated run: the selftest as it printed when the card was cut, with the date and the host
references/THE-METHOD.md — the method in plain words, in the card’s own voice
START-HERE.md and system/short-prompt.md — the doors, for any AI with or without skills
MY-LEDGER.md — the card’s memory, on your own machine · LICENSE-NOTE.md — the licence
PROOF · SELFTEST 9/9 · AUDIT 12/12 · WITNESSED IN CLAUDE 2026-10-20 ON THE STUDIO’S OWN EXAMPLE INPUTS · THE TEST PROMPTS IN FRESH CHATS OWED · EDITION 1 · PUNCH F90E3B6CD629DE0845114E18
ON EVERY DOOR · A CARD FOR YOUR AI, A FILE FOR YOUR COMPUTER
In Claude: turn on code execution under Settings › Capabilities, then Customize › Skills › + › Create skill, and upload the zip as it is — START-HERE.md in the box walks you through it, and tells you how to keep the ledger. In ChatGPT, Gemini and the rest: a Project, a GPT or a Gem with the card’s files attached and the short door in the box pasted as its instructions. The words run anywhere an AI reads Markdown; the machines run wherever the host runs Python. Witnessed in Claude only. The host marks →
Take it.
Nº 1317 —Liquid error (snippets/rm-pairs-card line 116): comparison of String with 0 failed
Sold as is under the term printed. A card instructs an AI you operate; results depend on your model, your files and your judgement. Not medical, legal, tax or financial advice, never the person’s boss, and not a licence to practise. Not investment advice, not an appraisal and not an offer to sell securities. The terms →
One payment. The file is yours to keep and keeps working at its edition; new editions issued in the year after you buy reach you by email as replacement files. Tax is added at checkout where it applies. Nothing auto-renews.
AFTER YOU PAY · SIGN IN WITH THE EMAIL YOU PAID WITH · THE CARD OPENS ON MY CARDS → · CHECKED AGAINST ITS FINGERPRINT · NOTHING TO WAIT FOR
A TERM, NOT A SUBSCRIPTION: NOTHING RENEWS ITSELF AND NOBODY IS CHARGED AGAIN. WHEN A TERM ENDS THE FILES STAY ON YOUR COMPUTER AND STAY READABLE — FREEZE, NOT LOSS.
THE MACHINE · IN THE OPEN · FROM THE STUDIO’S RUN OF 2026-10-20
pairs.py, showing its working.
A small Python program, standard library only. Your AI runs it; you can too. The block below is the machine’s selftest as it printed when the studio ran it from inside the packet, in Claude, on 2026-10-20.
run
spread, mean, std, and the current z-score, with a stretched-spread flag · run PRICES.csv [ratio
selftest
9 checks that prove the machine; it must print selftest 9/9
selftest · AS PRINTED
$ python3 scripts/pairs.py selftest
wrote PAIRS.md — z +1.79
wrote PAIRS.md — z +2.04
REFUSED: a zero in series b makes the ratio undefined
REFUSED: the spread is constant (std 0) — no z-score to compute
REFUSED: need at least 2 aligned rows with columns a and b
wrote PAIRS.md — z +1.79
wrote PAIRS.md — z +1.79
selftest 9/9
THE SELFTEST RUNS ON THE STUDIO’S OWN EXAMPLE INPUTS, INVENTED FOR THE TEST; NO REAL COMPANY, PERSON OR ACCOUNT IS NAMED.
QUESTIONS AT THE TABLE
Asked before the wire.
What does it need from me?
Your own files and figures, on your own disk. It starts by asking for them: the two price series into a spread, ratio or difference. If something it needs is missing, it marks it and says so — it never fills a gap with a guess.
Does it send anything anywhere?
No. The machine is a standard-library Python program that runs on your own computer and sends nothing anywhere; the words run wherever an AI reads Markdown. No server, no account, no key.
What is on the record?
The machine's selftest (9/9), run from inside the packet in Claude on 2026-10-20 on the studio's own example inputs and printed below as it ran; the twelve-check audit (AUDIT.md, 12/12); MANIFEST.md with every file hashed. RUN.md in the box is that run, dated. Still to come, as the next receipt: the card's test prompts asked in fresh chats with the card installed. The punch on the face is the SHA-256 of SKILL.md, so a downloaded copy can be checked against this room.
Can it be wrong?
Yes — it is an AI reading a text file: it can be wrong and can invent a number, a rule, a name or a date; check what matters against your own records and the source; the risk is yours. It measures the past spread you supply; a z-score is a description, not a signal, and a dislocation can be a broken relationship rather than an opportunity.
What will it never do?
It never calls a trade on a stretched spread — a spread can stay dislocated longer than a position survives; never gives investment advice or tells anyone to buy, sell, short, or trade; never presents a backtest, model, or projection as a promise of future return — unknown inputs are marked [FILL]; never front-runs, times a trade, or substitutes for a licensed professional's judgment.