Import your trades, see where your money goes in dollars, then open the full source and extend your own copy with your AI agent.
Unzip the download. TradeLens needs only Python installed (free, one time — on Windows tick “Add python.exe to PATH”). It sets up everything else by itself.
›_python.org · tick “Add to PATH”Double-click START-HERE.bat (Windows) or start-here.command (Mac). The first run sets itself up in about a minute, then opens TradeLens in your browser — no account, no login. Keep the little black window open while you use it.
›_opens http://127.0.0.1:8742On the first screen, click Load demo data for a 426-trade sample to click through — or open Import and add your own MT4 / MT5 / CSV. The demo stays separate; Settings → Start fresh clears it anytime.
›_Load demo data · or Import MT4 / MT5 / CSV
See your strongest edge, your #1 leak, and what your worst habit costs — each priced per month, computed from your real trades. The number you can’t argue with shows up first.
›_#1 leak · priced per month
Optional. Run scripts/setup-local-ai.ps1 (Windows) or .sh (Mac/Linux) — it installs Ollama and pulls the bundled model (llama3.2:3b, ~2 GB once). The coach then runs 100% on your machine, no key. Prefer the sharpest? Paste your own Claude / OpenAI / Gemini key in Settings → AI Coach.
›_setup-local-ai.ps1 · or paste an API key
Ask your account anything in plain English. The local AI coach answers with figures TradeLens already computed — never a guess — and hands you a button straight to the trades behind them.
›_what should I stop trading this week?
You own the full codebase. Open it in Claude Code or Cursor, hand over AGENTS.md, and add your own KPIs, connectors, reports or a prop-firm risk module. The 92 tests keep the numbers honest while you build.
›_add a prop-firm daily-loss risk viewUse it as a private trade desk today — or as a real codebase your AI agent can build on tomorrow. Not a template, not a prompt pack — a working local app with source, tests, docs and a demo database.
Run the app. Import trades. Ask the coach. The whole desk works with zero code.
Open the source, give AGENTS.md to Claude Code / Cursor, and extend your own copy.
No query language. Ask your account the way you’d ask a mentor — it answers from your real numbers.