<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://open-wealth.ch/feed.xml" rel="self" type="application/atom+xml" /><link href="https://open-wealth.ch/" rel="alternate" type="text/html" /><updated>2026-09-02T13:49:03+00:00</updated><id>https://open-wealth.ch/feed.xml</id><title type="html">First Name Last Name</title><subtitle>Personal website and blogs</subtitle><entry><title type="html">Portfolio Optimization: A Practical Tutorial</title><link href="https://open-wealth.ch/2026/09/02/portfolio-optimization-tutorial.html" rel="alternate" type="text/html" title="Portfolio Optimization: A Practical Tutorial" /><published>2026-09-02T13:00:00+00:00</published><updated>2026-09-02T13:00:00+00:00</updated><id>https://open-wealth.ch/2026/09/02/portfolio-optimization-tutorial</id><content type="html" xml:base="https://open-wealth.ch/2026/09/02/portfolio-optimization-tutorial.html"><![CDATA[<p>Portfolio optimization is the process of choosing asset weights to balance expected return against risk. The classic framework is to maximize return for a given level of risk, or equivalently minimize risk for a target return.</p>

<h2 id="1-the-mean-variance-problem">1. The mean-variance problem</h2>

<p>Let $w$ be the vector of portfolio weights, $\mu$ the vector of expected returns, and $\Sigma$ the covariance matrix of asset returns. The portfolio expected return is</p>

\[\mu_p = w^T \mu\]

<p>and the portfolio variance is</p>

\[\sigma_p^2 = w^T \Sigma w.\]

<p>The Markowitz problem is:</p>

\[\min_w \; \frac{1}{2} w^T \Sigma w\]

<p>subject to</p>

\[w^T \mu = \mu_{target}, \qquad \sum_i w_i = 1.\]

<p>This is the foundation of modern portfolio theory.</p>

<h2 id="2-why-diversification-matters">2. Why diversification matters</h2>

<p>Diversification reduces risk because asset returns are not perfectly correlated. If the covariance matrix has off-diagonal terms smaller than variance terms, the portfolio variance can be reduced relative to holding a single asset.</p>

<p>In a two-asset case,</p>

\[\sigma_p^2 = w_1^2 \sigma_1^2 + w_2^2 \sigma_2^2 + 2 w_1 w_2 \sigma_{12},\]

<p>where $\sigma_{12}$ is the covariance between the two assets. This shows that mixing assets can lower the overall variance if the correlation is less than 1.</p>

<h2 id="3-the-efficient-frontier">3. The efficient frontier</h2>

<p>By sweeping through different target returns, we trace out the efficient frontier. Each point on this frontier is a portfolio with the minimum risk for a given expected return.</p>

<p>The risk-return tradeoff is often summarized as:</p>

\[\text{maximize } w^T \mu - \frac{\gamma}{2} w^T \Sigma w,\]

<p>where $\gamma$ controls the investor’s risk aversion. A higher $\gamma$ places more weight on minimizing variance.</p>

<h2 id="4-a-practical-example">4. A practical example</h2>

<p>Suppose an investor holds three assets with expected returns and covariance matrix:</p>

\[\mu =
\begin{bmatrix}
0.08 \\
0.10 \\
0.12
\end{bmatrix},
\qquad
\Sigma =
\begin{bmatrix}
0.04 &amp; 0.01 &amp; 0.02 \\
0.01 &amp; 0.09 &amp; 0.03 \\
0.02 &amp; 0.03 &amp; 0.07
\end{bmatrix}.\]

<p>The optimal portfolio depends on the target return or the chosen risk penalty. In practice, the problem is solved numerically by quadratic programming or by using a convex optimization routine.</p>

<h2 id="5-implementation-idea">5. Implementation idea</h2>

<p>A simple optimization routine looks like this conceptually:</p>

<ol>
  <li>Define expected returns $\mu$.</li>
  <li>Define the covariance matrix $\Sigma$.</li>
  <li>Impose budget and target-return constraints.</li>
  <li>Solve the quadratic program.</li>
  <li>Inspect the resulting weights and efficient frontier.</li>
</ol>

<p>The general optimization problem can be written as:</p>

\[\min_w \; \frac{1}{2} w^T \Sigma w - \lambda w^T \mu\]

<p>subject to $\sum_i w_i = 1$.</p>

<p>This form highlights the tradeoff between expected return and risk.</p>

<h2 id="6-takeaways">6. Takeaways</h2>

<p>Portfolio optimization is most useful when you want to:</p>

<ul>
  <li>control total portfolio risk,</li>
  <li>choose a reasonable balance between return and volatility,</li>
  <li>diversify across assets with imperfect correlation,</li>
  <li>build a disciplined quantitative investment framework.</li>
</ul>

<p>In practice, the optimal portfolio depends on assumptions about expected returns, covariances, and the investor’s risk preferences. Even a simple mean-variance model can provide a strong starting point.</p>

<hr />

<p>This tutorial is intentionally compact, but it illustrates the central intuition behind portfolio optimization: choose weights that efficiently trade off expected return and risk.</p>]]></content><author><name></name></author><summary type="html"><![CDATA[Portfolio optimization is the process of choosing asset weights to balance expected return against risk. The classic framework is to maximize return for a given level of risk, or equivalently minimize risk for a target return.]]></summary></entry><entry><title type="html">Math Demo</title><link href="https://open-wealth.ch/2026/09/02/math-demo.html" rel="alternate" type="text/html" title="Math Demo" /><published>2026-09-02T12:00:00+00:00</published><updated>2026-09-02T12:00:00+00:00</updated><id>https://open-wealth.ch/2026/09/02/math-demo</id><content type="html" xml:base="https://open-wealth.ch/2026/09/02/math-demo.html"><![CDATA[<p>This post demonstrates how LaTeX renders in a Jekyll blog post.</p>

<p>Inline math: $a^2 + b^2 = c^2$</p>

<p>A more complete equation:</p>

\[\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}\]

<p>And a system of equations:</p>

\[\begin{cases}
 x + y = 5 \\
 2x - y = 1
\end{cases}\]]]></content><author><name></name></author><summary type="html"><![CDATA[This post demonstrates how LaTeX renders in a Jekyll blog post.]]></summary></entry><entry><title type="html">Welcome</title><link href="https://open-wealth.ch/2026/02/09/welcome.html" rel="alternate" type="text/html" title="Welcome" /><published>2026-02-09T00:00:00+00:00</published><updated>2026-02-09T00:00:00+00:00</updated><id>https://open-wealth.ch/2026/02/09/welcome</id><content type="html" xml:base="https://open-wealth.ch/2026/02/09/welcome.html"><![CDATA[<p>More content coming soon.</p>

<p>Inline math: $E = mc^2$</p>

<p>Display math:</p>

\[\int_0^1 x^2 \, dx = \frac{1}{3}\]]]></content><author><name></name></author><summary type="html"><![CDATA[More content coming soon.]]></summary></entry></feed>