Case study

Portfolio manager

A personal research and portfolio-management system, in daily use. It has been running since spring 2025, with new features added continuously. It trades some live money; new features run first in paper trading / shadow mode before they touch live money.

Personal research project; not investment advice.

Illustrative composite · synthetic ticker (not a real position). The real Telegram alert is shorter; this card gathers what feeds one decision.

🟢 BUY EXAMPLE

Qty: 10 | Type: limit

Account: EXAMPLE

  • ML ensemble: Gradient-boosted tree ensemble leans buy (example).
  • Market regime: Hidden Markov model regime: supportive.
  • Agent committee: Fundamentals, valuation, macro, catalyst, devil's advocate and knowledge-base specialist agents, plus an aggregator, weigh in.
  • Devil's advocate: Valuation already prices in two more quarters of growth.
  • Tax lots: Tax-lot check (example): holding period would start at the fill; short- vs long-term noted for any later sale.
  • 10-K signals [shadow]: not used for this trade
✅ Execute ⏰ Wait ❌ Cancel
ML ensemble → regime model → agent committee → my approval on Telegram

How it works

  • Classic ML. Gradient-boosted tree ensembles (LightGBM, XGBoost, CatBoost) plus random forest, LSTM and transformer models, and hidden Markov models for market regimes. A model has to pass promotion gates before it is used.
  • Agent committee. Fundamentals, valuation, macro, catalyst, devil’s-advocate and knowledge-base specialist agents, plus an aggregator.
  • Filing signals stay out of trading. The 10-K knowledge base’s filing signals run in shadow mode and do not drive trades.
  • Human approval. Every trade recommendation needs human approval, given over Telegram.
  • Tax-aware. It accounts for holding periods, tax lots and loss harvesting.
  • Stack. Python, FastAPI, n8n workflows and a 25-page React dashboard.

My role

I was the architect, product manager and engineering team lead; AI coding agents worked like my staff engineers and wrote most of the code.

What this page leaves out

No holdings, positions, returns or account values are shown here.