Documentation
Everything Threepio does, screen by screen — what to have ready before you install, how to use what it exports on your own platform, what each part of the machine is for, and what to do when something looks wrong.
Before you install
Threepio runs on your own Windows machine. Nothing is hosted by anyone else, so the machine has to be able to carry it and stay awake while it is researching.
| Component | Minimum | Comfortable |
|---|---|---|
| OS | Windows 10 / 11, 64-bit | Windows 11 |
| RAM | 8 GB | 16 GB |
| CPU | 4 cores | 8 cores |
| Disk | 20 GB free recommended (about 7 GB to install) | 50 GB free, SSD |
| Internet | Stable broadband | Wired |
On a Mac?
Threepio is a Windows application, so it does not install on macOS. The standard answer is a Windows VPS — a Windows machine in a data centre that you connect to remotely. It never sleeps, which is an advantage in its own right. You can control a VPS from a phone or a Mac; you just cannot install Threepio on either.
Do I need a VPS otherwise?
Only if you would rather not leave your own PC powered on while Threepio is working. On a Windows PC that stays awake, you do not need one.
Turn off sleep
Settings → System → Power. A machine that sleeps mid-run interrupts the work. Do the same for scheduled restarts and pending Windows updates before a long run.
Installing
- Download the installer from the download link on the setup page (or the same link in your delivery email).
- Click through two security warnings. Both are expected — see the box below before you start, so neither takes you by surprise.
- Start Threepio. It opens in its own window — no browser tab and no
address bar, so it behaves like any other desktop application. Under the hood it serves
itself from
127.0.0.1:8321(or the next free port up to8340if another program already uses 8321), which is your own machine and not a server anywhere else; you never need that address unless you are troubleshooting. - Complete the guided tour. It runs automatically and walks every screen. It has to be finished before full access opens.
1. On download — your browser may say the file "is not commonly downloaded and may be dangerous". Click the ⋯ beside the download, then Keep, then Keep anyway.
2. On running it — a blue box says "Windows protected your PC" and shows only a Don't run button. Click the small More info link; that reveals Run anyway.
Both mean "I have never seen this program before", not "this program is harmful". Windows trusts an installer once it carries a code-signing certificate and has accumulated download volume. Threepio's installer is not code-signed, so Windows has no reputation to go on and warns, as it does for any new independent program.
Prefer to verify rather than trust? Every build's SHA-256 checksum is published on the setup page and in your delivery email. Run
Get-FileHash on the downloaded file and compare. A match means the file is
byte-for-byte the one we published. A mismatch means do not run it — delete it and tell us.
Using your strategies on a platform
Threepio is a research engine. It places no orders and holds no login to your broker or trading account. What it produces are strategies, and it exports them as scripts that you run yourself in your own platform. The money and the account stay yours throughout.
| Platform | Export format |
|---|---|
| NinjaTrader 8 | NinjaScript |
| MetaTrader 5 | MQL5 |
| TradingView | Pine |
Deeper history
Threepio works from the history your own platform gives it. You can optionally add a
Databento key for a deeper pull on futures only (MNQ, NQ, ES, YM, MGC, MCL, M6E); forex,
stocks and crypto do not use it. It deepens history only: the strategy search builds
on MNQ, MGC, MCL and M6E, and NQ, ES and YM history serves the official ORB V19 script.
See DEEP-DATA-GUIDE.txt in the install folder. It is optional.
Prop firms and drawdown
Threepio itself places no orders, but the scripts it exports are automated trading once you run them, so the first question is always whether your firm permits that. Many firms do and some do not, and Threepio cannot check any firm's current policy for you. Read your own firm's published rules on automation before you run an exported script.
Know which drawdown model your account uses
Intraday trailing drawdown moves against you tick by tick during the session, so a strategy sized against a daily loss cap can be healthy on the day and still breach a trailing limit intraday on a position that later recovers. Check which model your specific account uses, because many firms offer both; end-of-day drawdown does not move against you during the session.
Everyone running the same strategies
What firms prohibit is copy trading and group trading: shared logins, trading someone else's account, or an external signal service firing into your funded account. Threepio is none of those — it runs locally, there is no shared login, no copier, and it holds no login to any account. What you run on your own platform, and how you size it, is your decision.
But firms judge by outcome, and their surveillance looks at what accounts actually do. Whether running strategies that other people also run is acceptable is a question for your firm: ask it, and follow its answer. Your sizing and your account are your own decisions. We will never ship a feature designed to hide automation from a firm — that would put you in breach rather than protect you.
More on how Threepio works is in the FAQ.
What leaves your computer
Your own files (strategies, scripts, papers, the vault) stay on your computer. The app does make some network requests, and several happen without you setting anything up: it downloads the vendor's signed reference file, checks for updates (about once an hour), reads public research sources and market-context files, and reads public crypto candles while a crypto market is switched on. A few more happen only if you add your own keys. The complete list is in the FAQ.
Reading results and the settings that matter
- UNVERIFIED. NinjaScript and MQL5 files are compiled when the compiler is on your machine. If it is not, the result says UNVERIFIED and the file is still offered: compile it yourself before you rely on it. Pine is only checked for grammar errors.
- HOLDOUT: OPEN. The untouched final stretch of history is open to the research
engine, so exported files say HOLDOUT: OPEN in their header and a good result is weaker
evidence. To seal it for new work, create
config\holdout.customer.yamlcontaining the one lineopen_to_research: false. Notepad must save it as All Files, or Windows names itholdout.customer.yaml.txtand it is not read. An update keeps that file. - Spend caps. The only caps on the engine are on paid language-model calls, which
exist only if you add your own Anthropic key. Set them under SETTINGS > SPEND CAPS;
0 means none. To add a key, put a line
CONVERSATION_API_KEY=your keyin the.envfile in your Threepio folder and restart. - Updates. Threepio checks about once an hour; SETTINGS > VERSION > CHECK NOW asks again straight away. It never installs anything itself.
What Threepio does not do
Be clear on this before you rely on anything it exports.
- It places no orders. There is no live trading, no account connection and no kill switch in Threepio, because there is nothing in it that trades.
- It does not size positions for you. Position size, daily loss limits and stop-outs are set by you, in the platform that runs the exported script. Trading and the daily loss limit also live in the separate app R2, which takes the scripts Threepio exports.
- It cannot see your platform. Fills, costs, slippage, data and platform behaviour on your side can differ from anything Threepio tested.
Welcome
HELLO. I AM THREEPIO.
Welcome aboard The Millennium Falcon, and might I say — excellent taste in research machinery. I shall walk you through every screen and every button. Click NEXT to proceed and BACK to revisit. The very first time through, the walkthrough has to be finished before the app unlocks, so it has no EXIT until then; once it is done, the TUTORIAL button in the top bar replays me any time, and a replay can be left with EXIT or the Escape key.
WHAT THIS MACHINE IS
A research engine. You drop in what you have — TradingView scripts, NinjaTrader scripts, MetaTrader 5 robots, research papers, books. I turn them into strategies and test them brutally. Most die, and that is the point. The survivors are CLEARED, and you take them out on the EXPORT tab as a script for your own platform. I never place an order and I hold no account. The only contact with your platform is read-only price history (Interactive Brokers or MetaTrader 5, if you use them), asked for on PULL HISTORY and about once a minute on its own — the trading itself happens in R2 or on your platform. Separately, while BTCUSD or ETHUSD is switched on, I read public one-minute candles from Binance every minute; no key or account is involved.
PICK YOUR COLOURWAY
First, how would you like me to look? Four schemes, and the whole machine repaints the moment you click one, so do try them. This is purely cosmetic — nothing about how I research or what I warn you about changes — and you can switch again whenever you like from the top bar.
The Cockpit
THE VITAL SIGNS
These pills are the machine's pulse, visible on every screen. CORE: is this app answering (it does not say whether the research engine is armed; SETTINGS shows that). INCIDENTS: problems needing your attention — zero is what you want to see.
THREE TABS
RESEARCH is the brain: reading, strategies, backtests. EXPORT is where a finished strategy leaves. DATA is where the price history comes from. SETTINGS (the cog beside them) holds alerts and the engine switch.
VISUAL PROTOCOL
Four looks: Indigo, Crimson, Emerald, Onyx. Purely cosmetic — with one deliberate exception: green/amber/red status colours NEVER change, in any theme. A warning always reads as a warning.
THE EXCHANGE CLOCK
New York time — the clock the market sessions in the data run on. Reports and cutoffs follow it, so you and the machine are never talking about two different 3 o'clocks.
Connect A Price Feed
STEP ONE: GIVE ME PRICES
I cannot test a strategy without price history. A starting history for the main futures, forex, stock and crypto markets already came with the app, as a snapshot: each market's history ends on the date its DATA row shows, and most end in 2025, not today. To bring it up to today there are two main ways: let a platform you already use write its bars to this computer (the bar logger), or add a Databento key (futures only). For forex, stocks and crypto the DATA tab can also PULL HISTORY where your setup allows it (MetaTrader 5, Interactive Brokers, exchange feeds). Your own data is never overwritten.
THE BAR LOGGER
If you use NinjaTrader 8: press INSTALL BAR LOGGER here (the button only works once this tutorial is finished; until then the app is read-only, so come back to it afterwards), then press F5 in NinjaTrader's NinjaScript Editor to compile it. Put JarvisBarLogger on a 1-minute chart for each market you want researched, and set Days to load to 400 to start (about 13 months, roughly 280 sessions; the DATA tab shows a market as amber until it has about three years, so plan to load more). Start me and leave me running first — the logger writes where I can find it, so you never type a path. It is a data feed only: I send NinjaTrader no orders and nothing here trades. The only file I put in its folders is the bar logger: the installer copies it at setup if NinjaTrader 8's folder was already on this machine, and the INSTALL BAR LOGGER button copies it too.
MARKET DATA — WHAT I HAVE TO WORK WITH
One row per market, with how many sessions I hold and how deep that history is. Short history is labelled honestly — it limits what can be proven. The history that shipped with the app is already here; PULL HISTORY adds the bars since, where your setup allows it; it runs in the background, so you can leave the page and queue several markets. No futures platform? Add DATABENTO_API_KEY to the .env file in your Threepio folder (see README.txt) and restart me so futures history pulls can fetch about four years from Databento. Forex, stocks and crypto use MetaTrader 5, Interactive Brokers and ccxt instead. The copilot can walk you through it.
Command Center
THE COMMAND CENTER
The home screen. Everything the brain did lately: strategies born, tests run, survivors, kills, reports written. Numbers here are never decorative — every figure is a real count from the database underneath.
THE CONTROL PANEL
The switchboard on the rail: trigger a reading pass (READ NOW). (The research engine's own on/off switch lives in SETTINGS.) It shows what it will read, how long it should take and whether it uses your own API key before it does anything.
The Vault
THE VAULT — THE LONG-TERM MEMORY
Every paper, book chapter, idea card and report the machine has ever digested lives here as linked notes — a knowledge graph you can literally fly through. It grows as the machine reads more.
PAPERS AND BOOKS GO IN THE INBOX
Drop a PDF — a research paper, a book, an article — into the Inbox on this screen. I check the file type and size, propose a proper name for your one-click confirmation, and queue it for reading. I cannot tell how a file was obtained, so add only material you have the right to use.
THE BRAIN ORB
The gold 3D orb on this screen is a decorative showpiece; it does not draw your notes. The real note graph, where every point is a vault note and every link a strand, is on RESEARCH LIBRARY. If your computer cannot show 3D, this screen draws a flat graph of the notes instead.
Drop In Your Own
IMPORT SCRIPTS — YOUR OWN STRATEGIES
Drop TradingView (.pine), NinjaTrader (.cs) or MetaTrader 5 (.mq5) files into the folder shown here, or paste a script straight in. Every file is previewed first, and I tell you plainly whether I could rebuild its entry condition (tested on my own frame, not on your script's bars, session, sizing or exits), rebuild it on the closest thing I have, only learn its ideas, or refuse it — and the exact construct I refused on. Nothing is imported until you press IMPORT ALL or the nightly run happens, which imports whatever is waiting in the folder.
WHAT HAPPENS TO WHAT YOU DROP IN
An imported script becomes a candidate and then faces exactly the same tests as everything I invent myself. Its own backtest proves nothing here, and an outside source raises the bar rather than lowering it. Papers and books follow their own road: read, turned into ideas, then into strategies. Watch them appear on the BACKTESTS screen. The survivors I built myself go out on EXPORT; a strategy rebuilt from a script you imported is tested here but cannot be exported as a file yet, and EXPORT says so.
Deep Reading
WHAT A DEEP READ IS
A skim finds titles; a DEEP READ extracts substance. The machine reads a document page by page and distils testable claims — 'momentum persists overnight in small caps' — into hypothesis cards, each linked back to its exact source page.
HOW TO START ONE
READ NOW in the control panel starts a reading pass immediately; otherwise the nightly loop reads on its own schedule. Every claim it extracts becomes raw material for new strategies — nothing is read and forgotten.
Strategy Factory
BACKTESTS — EVERY STRATEGY'S STORY
Each strategy is born from research building blocks, tested, and either advances or dies. This screen shows the whole population and where each one stands. Most are dead — that is quality control, not failure.
THE STAR MAP
The population as a constellation: families cluster together, and each star's brightness follows that strategy's screening P&L, so a bright star is not necessarily one that passed the tests. Dead strategies are dimmed. One glance shows where the machine has been exploring.
BREEDING
Winners get bred: successful strategies cross their rules to produce children that inherit both parents' strengths, and promising ones get their settings tuned. Every child is tracked and honestly counted — no idea sneaks in twice under two names.
FAMILY DRAFTS & BUILD REQUESTS
Where brand-new strategy families are proposed, drafted from fresh research. A draft you approve (or that the machine approves on its own, where that is switched on) is added to the generator's vocabulary. Build requests are different: they are notes about a rule the research wants that the engine cannot express yet. Accepting one only records that you want it; nothing is built on your machine.
Backtests
BACKTEST RESULTS — HOW A STRATEGY IS TESTED
Every candidate faces the same ordeal: out-of-sample and walk-forward windows, Monte Carlo shuffles and inflated costs. By default the final-exam period is open to the search, so none of this is a fully independent unseen-data check. A statistical luck-tax measurement also asks 'would this look good by chance alone, given how many things we tried?' It is shown as a warning line and does not stop a strategy by itself. A strict bar for it exists only inside a book election, and an election runs only for an account you have configured; where none is set up, nothing applies that bar, so judge the number yourself.
REJECTION IS SUCCESS
Most candidates die, and that is the point. Every backtest on this screen shows its full verdict — which test killed it and why. The machine cannot quietly lower the bar to let a favourite through; the thresholds are set by the vendor and the machine never lowers them on its own. (They are plain files on your computer, so editing them yourself would make a pass meaningless.)
Approvals & The Book
THE APPROVAL QUEUE
The machine researches alone, but some decisions stop here for a human. Anything on this screen can be approved or rejected by you. While the research loop's automatic mode is on (the shipped default) the nightly run also activates new bricks and approves family drafts by itself, so an item may be decided before you see it. Every decision is written to an append-only ledger the app itself never edits or deletes. The machine proposes; you can overrule it.
THE BOOK — A RECOMMENDATION
A book is a team of strategies chosen to complement each other across market conditions, not just to look good alone. Here it is advice: which strategies work well together, how correlated they are and how deep their combined drawdown runs. Nothing on this screen runs anything — it helps you decide what to export.
ELECTIONS — HOW A BOOK IS CHOSEN
Where an election runs, survivors of the backtests stand for it: combinations are judged as a TEAM on combined risk-adjusted return, correlation and regime coverage. The election is held twice, two different ways, and a member both readings pick is the more trustworthy choice. An election runs only for an account that is set up in the configuration file; this version has no screen for that, so on many installs this page stays empty.
Export
EXPORT — WHERE A STRATEGY LEAVES
Strategies that get through the stopping tests are CLEARED and appear here (CLEARED is not a luck-tax pass; each row says). Pick one and press the button for your platform: a NinjaScript for futures, a MetaTrader 5 robot for forex, a TradingView (Pine) script for stocks and crypto. The ★ marks the platform that strategy's market belongs on. Each file is checked where this machine can, and the result says plainly whether it was compiled, only syntax-checked, or could NOT be checked here.
READ THE EVIDENCE BEFORE YOU TAKE IT
Each row says how the strategy fared and whether it was ever checked on years it did not see. Tick the box above the list to also see strategies that failed or are still being tested — they are clearly labelled, and failed or unfinished ones carry a DO-NOT-TRADE header in their exported code (one with no test record on this machine says so in its header). CLEARED is not a luck-tax pass: the row prints that measurement, and a strategy that arrived already marked cleared, with no test record here, shows as CARRIED OVER. A button that is greyed out says why on the button itself.
THEN IT LEAVES THE BUILDING
Load the exported script into R2, or straight into your own platform. That is where the orders, the position sizes and the risk limits live — not here. I research and I export; I place no orders and hold no account. The one exception is price data: I can connect read-only to Interactive Brokers (TWS or Gateway) or MetaTrader 5 to fetch price history, on PULL HISTORY and also about once a minute on my own for the markets you have switched on, and your platform may show a connection prompt when I do. While BTCUSD or ETHUSD is switched on I also read public one-minute candles from Binance every minute, with no key or account.
Reports & Incidents
REPORTS & INCIDENTS
Every night the machine writes a Daily Brain Report — what it read, built, killed and learned. Anything that went wrong becomes an INCIDENT that stays on this screen until genuinely fixed. Amber means look when convenient; red means look now.
Settings
THE RESEARCH ENGINE SWITCH
The engine starts ARMED, so the button here already reads DISARM; press it only if you want the engine off. While armed, it runs the full research loop every night — reading sources, generating candidates, backtesting, validating, and writing your morning report. Leave the app running overnight and it works while you sleep. A first night usually takes one to three hours to its report and keeps working afterwards; RUN A NIGHT NOW starts one whenever you like, for instance right after loading history. It places no orders, ever.
PHONE ALERTS — SET UP IN 3 MINUTES
The machine can message your phone through your OWN Telegram bot: the morning report is ready, a new incident needs attention, a new version is out — each alert type has its own on/off switch on this screen. Alerts ship switched OFF and finishing this walkthrough does not switch them on: after the bot is set up you press ENABLE ALERTS. If this screen already says ALERTS ON, that is a switch somebody pressed: it is on, but nothing can be sent until the bot is set up. Setup takes about three minutes (the instructions are right here, and the copilot can walk you through it). Nothing is shared with anyone — your bot, your phone, your machine.
GIVE THE MACHINE ITS OWN MIND
One download makes the whole brain self-sufficient: the local AI model (a few GB). The installer does not download it: it comes down only when you click to start it in the COPILOT drawer. With it on board, the copilot can phrase its answers in its own words (without it, it still answers, straight from the built-in manual, and its badge says OFFLINE MANUAL) and the research engine can read books and papers by itself overnight with no account and no cloud, so the text it reads stays on this machine. Without it, overnight reading needs an Anthropic API key of your own (then the text is sent to Anthropic) or it waits, and says so.
MOVING ME TO A NEW COMPUTER
Before you move to a new computer, press DOWNLOAD BACKUP in SETTINGS: it holds your database, settings and vault, and the RESTORE.txt inside says how to put them back. It leaves out your .env file, so any alert token or data key kept there has to be entered again on the new computer. Then set me up on the new computer and restore from that file.
Finish
THAT CONCLUDES THE TOUR
To recap, sir: give me prices on the DATA tab, drop scripts into IMPORT SCRIPTS and papers and books into the INBOX, watch them become strategies on the BACKTESTS screen, and take the survivors I built myself out on the EXPORT tab (a strategy rebuilt from an imported script is tested but not exported). The TUTORIAL button replays me any time, and SETTINGS → SETUP will start the whole walkthrough over from step one if you would rather be asked everything again. If anything here is unclear, ask the copilot: it knows the setup steps and answers on this machine, without the internet. Good luck, and do try to keep us out of an asteroid field.
Troubleshooting
RESTORE.txt inside says how to put them back. It
leaves out your .env file, so any alert token or data key kept there has to be
entered again on the new computer. Then set Threepio up on the new computer and restore
from that file.Getting help
Open a ticket in the Discord — that is the main support route. If you are not in the Discord, or cannot find the link, email aston@threepio.xyz and it reaches us directly. Nobody should be stuck because they lost a link.