<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ozan Bayhan</title>
    <description>The latest articles on DEV Community by Ozan Bayhan (@ozan_bayhan_0ed56149909bc).</description>
    <link>https://dev.to/ozan_bayhan_0ed56149909bc</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4272796%2F5eccbb37-ba62-445b-96f4-11c41b730846.jpg</url>
      <title>DEV Community: Ozan Bayhan</title>
      <link>https://dev.to/ozan_bayhan_0ed56149909bc</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ozan_bayhan_0ed56149909bc"/>
    <language>en</language>
    <item>
      <title>I re-weighted 53 published model portfolios with 8 optimizers. Equal weight beat the firms more often than not.</title>
      <dc:creator>Ozan Bayhan</dc:creator>
      <pubDate>Sun, 29 Nov 2026 18:36:36 +0000</pubDate>
      <link>https://dev.to/ozan_bayhan_0ed56149909bc/i-re-weighted-53-published-model-portfolios-with-8-optimizers-equal-weight-beat-the-firms-more-bmb</link>
      <guid>https://dev.to/ozan_bayhan_0ed56149909bc/i-re-weighted-53-published-model-portfolios-with-8-optimizers-equal-weight-beat-the-firms-more-bmb</guid>
      <description>&lt;p&gt;Brokers, robo-advisors and ETF sites publish "model portfolios" all the time: a list of ETFs or stocks plus target weights. I wanted to know something simple: &lt;strong&gt;do the weights add value, or would plain math have done just as well with the same holdings?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So I built an open-source archive that tracks these portfolios daily and tests each one against 8 portfolio optimizers. This post explains the method, the first results, and how you can rerun everything yourself.&lt;/p&gt;

&lt;h2&gt;
  
  
  The setup
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The archive.&lt;/strong&gt; 67 openly published model portfolios from justETF (Germany), Merriman (US), Indexa Capital (Spain), Canadian Couch Potato (Canada) and a Turkish broker. 14 of them hold a single ETF, so there is nothing to re-weight. That leaves &lt;strong&gt;53 multi-asset portfolios&lt;/strong&gt; for the comparison.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The rule: no look-ahead.&lt;/strong&gt; For every portfolio revision, each optimizer only sees prices from &lt;em&gt;before&lt;/em&gt; the date the firm published it. It gets exactly the same assets as the firm and chooses its own weights. Then the firm and the 8 models are measured over the same period.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The 8 optimizers:&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Idea&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Equal weight (1/N)&lt;/td&gt;
&lt;td&gt;Every asset gets the same share&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Inverse volatility&lt;/td&gt;
&lt;td&gt;Calmer assets get more weight&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Minimum variance&lt;/td&gt;
&lt;td&gt;Lowest possible portfolio volatility (Markowitz)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Max Sharpe, shrunk&lt;/td&gt;
&lt;td&gt;Max Sharpe with shrinkage returns and Ledoit-Wolf covariance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Risk parity&lt;/td&gt;
&lt;td&gt;Every asset contributes the same risk&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;HRP&lt;/td&gt;
&lt;td&gt;Hierarchical risk parity (López de Prado)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Max diversification&lt;/td&gt;
&lt;td&gt;Maximise the diversification ratio&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Black-Litterman&lt;/td&gt;
&lt;td&gt;Prior = returns implied by the &lt;em&gt;firm's own&lt;/em&gt; weights, views = historical means&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The Black-Litterman variant is my favourite: it reverse-engineers what the firm must believe about expected returns (π = δΣw), blends that with the data, and asks whether the result would have been better.&lt;/p&gt;

&lt;h2&gt;
  
  
  First results
&lt;/h2&gt;

&lt;p&gt;USD, price returns, from 2 January 2026 (the start of most portfolios) to 29 November 2026. Risk-adjusted return means the Sharpe ratio.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Only 17% of firms (9 of 53) beat all 8 optimizers&lt;/strong&gt; on risk-adjusted return.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Equal weight beat the firm's weights in 55% of portfolios&lt;/strong&gt; on risk-adjusted return, and in 64% on total return.&lt;/li&gt;
&lt;li&gt;Measured another way: for only 34% of portfolios did the firm's weighting add return over simply equal-weighting its own holdings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;There is no single best model.&lt;/strong&gt; The top optimizer per portfolio was max Sharpe in 16 cases, equal weight in 14, min variance in 11 and max diversification in 7.&lt;/li&gt;
&lt;li&gt;Averaged across all portfolios, &lt;strong&gt;equal weight had the best Sharpe of the 8&lt;/strong&gt;. Classic minimum variance had the worst.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That last point matches a well-known result from the literature (DeMiguel, Garlappi &amp;amp; Uppal, 2009): 1/N is very hard to beat out of sample, because estimation error eats the theoretical gains of optimization.&lt;/p&gt;

&lt;h2&gt;
  
  
  Caveats (please read)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;11 months is short.&lt;/strong&gt; These are early observations, not conclusions. The archive keeps growing every day, and the numbers will change.&lt;/li&gt;
&lt;li&gt;Price returns only (no dividends), quotes from Yahoo Finance.&lt;/li&gt;
&lt;li&gt;Some German portfolios list ISINs; I mapped them to exchange listings, and a few mappings are my best guess.&lt;/li&gt;
&lt;li&gt;Most portfolios have had only one revision so far.&lt;/li&gt;
&lt;li&gt;This is research, not investment advice.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Run it yourself
&lt;/h2&gt;

&lt;p&gt;Everything is MIT-licensed. The site is a React front end on top of a public JSON API:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# All model portfolios vs. the 8 optimizers, in USD&lt;/span&gt;
curl &lt;span class="s2"&gt;"https://portfolio.orbitcashflow.com/api/analysis?source=institution&amp;amp;currency=USD"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or use the Python library directly (built on skfolio, Riskfolio-Lib and PyPortfolioOpt, with 24 optimization models):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;portfolio_models&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;load_prices&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;to_returns&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;fit_weights&lt;/span&gt;

&lt;span class="n"&gt;returns&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;to_returns&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;load_prices&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"VOO"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"QQQ"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"GLD"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"TLT"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;start&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"2021-01-01"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;fit_weights&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;returns&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"hrp"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"risk_parity"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"min_variance"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;There is also an MCP server, so you can ask an AI assistant to query the archive, and anyone with a Google account can add their own portfolio to the site (performance starts on the day it is saved, so no back-dating).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Site: &lt;a href="https://portfolio.orbitcashflow.com" rel="noopener noreferrer"&gt;https://portfolio.orbitcashflow.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Code: &lt;a href="https://github.com/ozanbayhan/portfolio-models" rel="noopener noreferrer"&gt;https://github.com/ozanbayhan/portfolio-models&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I'd love feedback on
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Is "same assets, different weights" a fair test of a model portfolio?&lt;/li&gt;
&lt;li&gt;Which other publishers openly share model portfolios and allow reuse?&lt;/li&gt;
&lt;li&gt;What would make the comparison more robust: total-return data, transaction costs, longer windows?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you find it useful, a ⭐ on GitHub helps other people find it.&lt;/p&gt;

</description>
      <category>python</category>
      <category>opensource</category>
      <category>finance</category>
      <category>datascience</category>
    </item>
  </channel>
</rss>
