The problem
My first attempt, the Portfolio Manager, took too little work off my hands. For the rest I would need 3 to 4 hours a day.
Project · since 09/2026
This is my biggest project. A platform is meant to run my portfolio, from market watch through risk, trading and accounting all the way to tax. It should present every order to me on my phone for approval. No real money is flowing yet. That only comes in the last phases of the plan, and even then only my approval triggers an order.
!Warning: Plan finished, build on hold since 12 Oct 2026
| Step | Status |
|---|---|
| Proposal from the portfolio manager | fixed rules met |
| My approval | waiting for me |
| Risk check | after that |
| Placing the order in the simulator | after that |
| Booking | after that |
This is how the cockpit is meant to present an order to me for approval, at first only in the simulator without real money. A replica of how it is planned.
In short
My first attempt, the Portfolio Manager, took too little work off my hands. For the rest I would need 3 to 4 hours a day.
I planned from scratch and had a second AI model attack the plan for 18 rounds. The build happens in small steps. Trading happens first in the simulator, which only calculates orders, then on a paper trading account with play money, and only at the very end with real money.
The old Portfolio Manager keeps running, without real money. For the new platform, a first part of the foundation is in place.
In numbers · the build has been on hold since 12 Oct 2026
It is built with Python, FastAPI and PostgreSQL, the app with TypeScript.
Why a portfolio, of all things
I chose this project on purpose, because it is so complex and because it is about money. That makes it a realistic test for AI agents. Mistakes are still allowed to happen, because no real money is involved until the end. Almost everything that makes software hard comes together here:
Prices are only added and never overwritten. That way I can later trace every decision with the data from that time. On top of that come dividends, several currencies and the calendars of the stock exchanges.
A booking happens completely or not at all, even when several parts access it at the same time. The accounting has to add up to the cent when recalculated.
A separate area for risk has fixed limits and can stop any order. The kill switch can only block and never trade itself.
Approvals use a passkey, meaning a fingerprint or a device instead of a password. On top of that there is protection, even against my own agent.
The parts run separately, depending on how much I trust them. If a new version fails, the previous one comes back automatically. The backup is restored as a test.
This includes German fund taxation, a yearly calendar and questions for the tax advisor.
My own agent is a risk too
The threat model also takes my own AI agent into account. A threat model describes who or what can harm the platform. I assume that my own agent can make mistakes or be tricked. That is why it should be technically impossible for it to reach real money.
Backstory
Before that I built the Portfolio Manager as part of my dashboard. It was meant to take work off my hands, but above all I wanted to learn from it. It was about fixed workflows, about skills, meaning written instructions for the AI, and about knowledge management, operations and infrastructure.
without real money from day one
to include risk monitors, approvals with a log of every step and daily status reports
I refocus it. Now fixed rules decide based on metrics, and the AI only explains why.
I take stock of the old system and decide to plan from scratch.
“Otherwise this is just a mini portfolio manager for me, and I have to work out the rest myself every day. But that would be 3 to 4 hours of work a day, and I don’t have those. I would rather put them into software projects.”
Even so, it was not a failure. What I learned from it is part of all my projects today.
Way of working
Knowledge
Operations
Principles that stay
The rebuild
I took a close look at the old system. There I could only have got clean boundaries between its parts with permanent exceptions, and “half finished” would have stayed the normal state. A few examples, and next to them the new platform as it is planned:
The new platform is one single program, with the domains clearly separated. Many small separate services would be too much work for me alone.
Structure
The simulator, the paper trading account and the live account keep separate books. When switching, only the connection changes, and the code of the domains stays the same.
Every order needs my approval in the cockpit, the app on my phone. With real money I also confirm by passkey, and the approval is checked a second time, independently.
Market watch, portfolio manager, risk and control, trader, accounting, tax, reference and market data and the cockpit. Risk and control can stop any order. Accounting is the sole authority for money and holdings.
This is where money and holdings change, and every booking happens completely or not at all. Whatever comes from outside, the AI included, can never write anything in the money path.
The user interface, the money path, outside data and the broker connection run separately. Outside data covers everything external, including the AI. Each account gets its own connection to the broker.
Underneath there is a foundation without business rules: messages, scheduler, identity, evidence, backup and costs.
All interfaces between the parts are described in one place. Code and checks are generated from this description automatically.
Try it out · this is the plan
This is how an order is meant to pass through the platform once trading is built. Pick a case.
Planning
In each review round, a second AI model attacked the plan before a single line of code was written. From round to round the findings got fewer and less severe. From round five on, there was no high finding left. After 18 rounds, nothing was still open that affected the structure as a whole.
Planning
11 Oct 2026
Decisions
Status
The build has been on hold since 12 October 2026 because I built the Web-Zentrale first.
On 11 October 2026 the platform ran in its own environment for the first time. One command triggered an event, another part reacted to it, and this was tested from start to finish. The next day brought fixed formats in which the parts exchange data, and separate areas in the database. Also new was an outbox that only sends messages once they are saved. Along the way, the number of tests grew from 13 to 577.
Next up are the message dispatcher, the scheduler and the interface for the app, then reference data and prices. Until trading in the simulator replaces it, the old Portfolio Manager keeps running, without real money.
Roadmap
The plan has 69 work steps. Market watch comes before accounting and trading because it is the first to be useful without moving any money. Real money only comes after the simulator and the paper trading account.
✓ done · ! started · – open. The numbers show how many work steps of a phase are complete.
The stop rule
I estimate 158 to 231 work sessions of about 2.5 hours each, so roughly 400 to 580 hours. For the first result, the market watch, it is 43 to 59 sessions or roughly 110 to 150 hours. So that the project does not get out of hand without me noticing, I set in advance when I stop or decide again:
You can read how I work with the AI agents in AI way of working. The Web-Zentrale shows what I built first. News goes into the logbook (in German).