by simonro
Local-first AI trading journal. Import your broker CSV, get round-trip trades, KPIs and Claude-powered diary analysis. Runs on your own machine. No account, no telemetry, MIT.
# Add to your Claude Code skills
git clone https://github.com/simonro/Trading-Journal-AIGuides for using api integration skills like Trading-Journal-AI.
See how Trading-Journal-AI compares with popular alternatives.
Trading-Journal-AI is an open-source api integration skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by simonro. Local-first AI trading journal. Import your broker CSV, get round-trip trades, KPIs and Claude-powered diary analysis. Runs on your own machine. No account, no telemetry, MIT. It has 50 GitHub stars.
Trading-Journal-AI's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/simonro/Trading-Journal-AI" and add it to your Claude Code skills directory (see the Installation section above).
Trading-Journal-AI is primarily written in JavaScript. It is open-source under simonro on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other API Integration skills you can browse and compare side by side. Open the API Integration category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh Trading-Journal-AI against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Unlocks once the catalog security scan passes (runs nightly).
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
A trading journal that runs on your own machine. Import your broker's CSV and it rebuilds your round-trip trades, tracks the numbers that matter (win rate, profit factor, expectancy, drawdown, MFE/MAE, exit efficiency), and, if you want it to, uses Claude to read your trading diary and grade your days on process.
Quick start · Watch the walkthrough · Releases · Privacy
What this is not: Not financial advice. Not a signal service. Every screenshot below is the synthetic demo seed, not anyone's real trades.

Trading Journal AI is designed as a local-first application.
Your trading journal database, imported broker data, notes, and uploaded files are stored locally on your computer. Trading Journal AI does not require an account and does not include telemetry or analytics that send your usage data back to the project. The backend listens on localhost only.
Some features use third-party APIs and are completely optional.
Claude / Anthropic
When you use AI analysis or the Brain assistant, the information required to answer your request may be sent to Anthropic's API. This can include trade information, journal context, or images you explicitly ask the AI to analyze.
The core journal, trade reconstruction, P&L calculations, reports, and statistics do not require Claude.
Market data (Alpaca)
If you add Alpaca keys, the trade chart asks Alpaca for price bars: the ticker and the date range, nothing about your trades or account.
API keys are configured locally and should never be committed to GitHub.
Do not share or commit:
.env filesThe repository's .gitignore is configured to exclude common local data and credential files.
AI is not used to calculate your trading results.
Trade reconstruction, P&L, commissions, statistics, and other core trading calculations are handled by deterministic application code. AI features are an optional analysis and coaching layer on top of those calculations.
Trade View. Every trade with its executions, MFE/MAE and exit efficiency, the realized R, and the setup you tagged. Click any row to open the full trade.

Trade Details. The executions on one trade, the planned and realized R, the stop and target you wrote before entry, and an intraday chart with your fills marked on it. Charts open on the trade day's session; the legend entries switch layers on and off.

Day Review. The session as one picture: running P&L from the open to the close with every trade marked where you entered it. The day's measures sit under it, each set against your all-time figure: win rate, profit factor, average win, average per trade against your expectancy, exit efficiency, and how much was given back from the session high. Underneath, an AI coaching report graded on process rather than P&L, which reads your trades and your diary together and is willing to tell you a profitable day was badly run.

Reports. Equity curve, drawdown against the running peak, and breakdowns by setup, timing, execution, symbol, source, tag and psychology.

Settings. The vocabulary the journal uses. Rename a strategy, merge two that mean the same thing, or delete one and reassign its trades.

A full tour of the app, an install from an empty folder, and three prompts that change it while the camera is running. Every prompt used in the video is in the video description, ready to paste.
Requirements: Python 3.11+ and Node.js 18+ (the current LTS is recommended).
Windows, two steps: download or clone the repo, then double-click
setup.bat, once. It creates the Python environment, installs everything and creates
backend\.env for your optional keys.launch.bat, every time. Then open http://localhost:3010Manual setup (Mac, Linux, or if you prefer):
# 1. Python environment + backend dependencies
python -m venv .venv
.venv\Scripts\activate # Windows (source .venv/bin/activate on Mac/Linux)
pip install -r backend/requirements.txt
# 2. Frontend dependencies
cd frontend
npm ci
cd ..
# 3. Run both (Windows; launch.bat picks up .venv automatically)
launch.bat
launch.bat starts the FastAPI backend on http://localhost:8010 and the React frontend on http://localhost:3010. On Mac/Linux run them manually: python -m uvicorn main:app --reload --port 8010 from backend/, and PORT=3010 npm start from frontend/.
To run them on other ports, tell each side about the other: REACT_APP_API_URL for the frontend,
and, only if the frontend is not on localhost, FRONTEND_ORIGINS (comma separated) for the
backend's CORS allow list. Any localhost port is accepted without configuration.
Every install starts empty: no accounts, no trades, no demo data. Add your first account in the app, then import your broker's statement on the Import page.
Your trades live in backend/trading_journal.db and your keys in backend/.env. Neither is part of
a release, so an update never touches them. New tables are created on the first start and nothing
existing is rewritten.
If you cloned with git:
git pull
pip install -r backend/requirements.txt # only if requirements changed
cd frontend && npm install && cd .. # only if package.json changed
launch.bat
If you downloaded the ZIP: unzip the new version into a new folder, then copy your two files across before starting it:
copy old-folder\backend\.env new-folder\backend\.env
copy old-folder\backend\trading_journal.db new-folder\backend\trading_journal.db
Then run npm install in frontend/ once and start it with `launch.bat