Santiago López Ariza / Case study
Portfolio Lopez
Investment Intelligence & Quantitative Finance Platform
A local, single-user decision-support platform for long-term equity investing in Colombian pesos. It screens a US-listed universe, values companies by business type, builds and stress-tests portfolios, monitors risk and publishes a daily report. It is not a fund, a financial company or an advisory service, and it never executes trades.
- Independent project
- AI-assisted development
- Python · Streamlit · DuckDB
- Audited 30 Nov 2026
01
The financial problem
How can a small private investor choose and size equity positions with institutional rigour — quality-first selection, valuation adapted to each business, explicit policy constraints and risk measured in their own currency — without false precision from hidden missing data?
02
How it works
-
1 · Screen
13,293 discoverable securities → 2,732 evaluated → 212 ranked in the run of 30 Nov 2026, with every stage traceable.
-
2 · Analyse
Price and trend with the valuation engine's fair-value overlay and buy-zone context.
-
3 · Value
Editable DCF assumptions calculated from history, with Bear, Base and Bull scenarios.
-
4 · Construct
Robust efficient frontier with GMV, maximum Sharpe and the capital allocation line.
-
5 · Stress
Historical crisis windows with declared coverage, plus hypothetical shocks.
-
6 · Test
Walk-forward backtest without look-ahead, net of transaction costs, against benchmarks.
The full demonstration
Video description
Silent video without narration, built only from real screenshots and screen recordings of the application on a demo database. Scenes: market heatmap by sector and size; the screener funnel from 13,293 discoverable securities to 212 ranked (run of 30 November 2026); a company price chart with valuation overlays; an editable DCF with Bear, Base and Bull scenarios and its sensitivity matrix; a robust efficient frontier; Euler risk contributions; a Monte Carlo wealth fan with 50,000 Student-t scenarios on the fictitious demo portfolio; historical stress windows; a walk-forward backtest net of costs; and the Model Validation Center with 37 models validated, 1 warning and 0 failed. Closing card: demo data, decision support only, not investment advice.
03
Methodologies
Portfolio theory
- Markowitz / Merton frontier
- Capital allocation line
- Black-Litterman with Idzorek confidence
- Robust MVO
- HRP · risk parity · min-CVaR
Estimation
- Historical, CAPM, analyst-implied and blended expected returns
- Ledoit–Wolf, OAS and EWMA covariance
- Fama-French and ETF factor regressions
Valuation
- FCFF and FCFE DCF
- Dividend discount model
- Residual income
- Relative multiples
- Reverse DCF
- WACC with CAPM, Blume beta and country risk premium
Risk & performance
- VaR / CVaR: historical, parametric, Cornish–Fisher
- Kupiec and Christoffersen VaR backtests
- Monte Carlo: normal, Student-t, bootstrap
- Sharpe, Sortino, Omega, probabilistic and deflated Sharpe
- DuPont and earnings quality
04
Verified results
Measured in the audit of 30 November 2026 unless marked historical.
| Result | Value | Date | Status |
|---|---|---|---|
| Automated test cases | 2,794 passed · 0 failed · 36 skipped (2,830) | 30 Nov 2026 | Current |
| Model Validation Center | 37 validated · 1 warning · 0 failed | 30 Nov 2026 | Current |
| Application pages opening without errors (demo) | 37 / 37 | 30 Nov 2026 | Current |
| Screener funnel | 13,293 discoverable → 2,732 evaluated → 212 ranked | 30 Nov 2026 | Current |
| Daily evaluation | 2,241 valued · 494 insufficient data · 0 failures · 27.4 min | 30 Nov 2026 | Current |
| Cross-validation of the optimiser vs cvxpy / PyPortfolioOpt | 218 / 218 | 18 Oct 2026 | Historical, not re-run |
| Cross-validation of research engines | 129 / 129 | 18 Oct 2026 | Historical, not re-run |
What it demonstrates
- Corporate valuation adapted to the business model, with explicit cost-of-capital assumptions.
- Modern portfolio theory applied with awareness of estimation risk.
- Risk measurement and model validation as part of the investment process, not an afterthought.
- The ability to specify, direct and audit AI-built financial software.
05
How AI was used — transparently
What I did
- Defined the investment problem and the investment policy.
- Chose and questioned the financial methods: CAPM / WACC, DCF by business type, Markowitz, Black-Litterman, risk metrics.
- Set the rules for honest data and for protecting real data.
- Reviewed results and approved or rejected changes.
What AI did
- Claude Code (Anthropic) acted as an AI pair-programmer and wrote most of the code and tests.
- AI reviewers in portfolio-manager, quant-auditor and QA roles produced independent reviews.
- Software-engineering depth is credited to this AI-assisted process, not presented as my own expertise.
Architecture
06
A generated report
Every evening at 18:00 the platform refreshes data, screens, values and writes a Top 10 research report in four formats with an integrity manifest. These pages come from the run of 30 November 2026 on public companies. The full report is not published here because it quotes third-party company descriptions and news.
07
Limitations
- Data comes from free, unofficial providers with rate limits and roughly four to five years of statements.
- No point-in-time fundamentals, so fundamental selection cannot be backtested; price backtests carry survivorship bias.
- Mean-variance outputs depend on estimated expected returns; robust engines mitigate but do not remove this.
- Under the owner's own policy constraints, a US-only demo portfolio is infeasible, so the demo cannot show a recommended total portfolio — the system says so instead of forcing an answer.
- Independent cross-validation was last run on 18 Oct 2026.
- A personal, single-user tool on one machine — not a regulated investment service.
All images and videos come from the real application running on an isolated demo database: public market data and a fictitious portfolio. No real holdings are shown.
Want to see it in a conversation?
I can walk through the methods, the code decisions and the limitations in an interview.








