Skip to content

Commit 9802363

Browse files
spec: add frontier-efficient specification (#3345)
## New Specification: `frontier-efficient` Related to #3342 --- ### specification.md # frontier-efficient: Efficient Frontier for Portfolio Optimization ## Description The efficient frontier is a fundamental visualization in Modern Portfolio Theory (MPT) that displays a curve of optimal portfolios offering the highest expected return for each level of risk (standard deviation). Portfolios on the frontier are "efficient" because no other portfolio exists with higher return for the same risk, or lower risk for the same return. This plot is essential for asset allocation decisions and understanding the risk-return tradeoff in investment portfolios. ## Applications - Portfolio managers selecting optimal asset allocations based on client risk tolerance - Financial advisors demonstrating the benefits of diversification to investors - Quantitative analysts comparing actual portfolio positions against theoretical optimums - Academic research in finance and economics illustrating mean-variance optimization concepts ## Data - `return` (numeric) - Expected portfolio return (annualized, typically 0.0-0.3) - `risk` (numeric) - Portfolio risk as standard deviation (annualized, typically 0.0-0.4) - `weight` (optional, list) - Asset weights for each portfolio point - Size: 50-500 simulated portfolios plus the efficient frontier curve - Example: Randomly generated portfolios from 5-10 asset universe with historical return/covariance data ## Notes - X-axis should show risk (standard deviation), Y-axis should show expected return - The efficient frontier curve should be clearly distinguished (thicker line, distinct color) - Include random portfolio scatter points to show suboptimal portfolios below the frontier - Mark key points: minimum variance portfolio, maximum Sharpe ratio (tangency) portfolio - Optional: Show capital market line from risk-free rate tangent to frontier - Color coding can indicate Sharpe ratio for scatter points --- **Next:** Add `approved` label to the issue to merge this PR. --- :robot: *[spec-create workflow](https://github.com/MarkusNeusinger/pyplots/actions/runs/20832697032)* Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent be1a564 commit 9802363

2 files changed

Lines changed: 58 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# frontier-efficient: Efficient Frontier for Portfolio Optimization
2+
3+
## Description
4+
5+
The efficient frontier is a fundamental visualization in Modern Portfolio Theory (MPT) that displays a curve of optimal portfolios offering the highest expected return for each level of risk (standard deviation). Portfolios on the frontier are "efficient" because no other portfolio exists with higher return for the same risk, or lower risk for the same return. This plot is essential for asset allocation decisions and understanding the risk-return tradeoff in investment portfolios.
6+
7+
## Applications
8+
9+
- Portfolio managers selecting optimal asset allocations based on client risk tolerance
10+
- Financial advisors demonstrating the benefits of diversification to investors
11+
- Quantitative analysts comparing actual portfolio positions against theoretical optimums
12+
- Academic research in finance and economics illustrating mean-variance optimization concepts
13+
14+
## Data
15+
16+
- `return` (numeric) - Expected portfolio return (annualized, typically 0.0-0.3)
17+
- `risk` (numeric) - Portfolio risk as standard deviation (annualized, typically 0.0-0.4)
18+
- `weight` (optional, list) - Asset weights for each portfolio point
19+
- Size: 50-500 simulated portfolios plus the efficient frontier curve
20+
- Example: Randomly generated portfolios from 5-10 asset universe with historical return/covariance data
21+
22+
## Notes
23+
24+
- X-axis should show risk (standard deviation), Y-axis should show expected return
25+
- The efficient frontier curve should be clearly distinguished (thicker line, distinct color)
26+
- Include random portfolio scatter points to show suboptimal portfolios below the frontier
27+
- Mark key points: minimum variance portfolio, maximum Sharpe ratio (tangency) portfolio
28+
- Optional: Show capital market line from risk-free rate tangent to frontier
29+
- Color coding can indicate Sharpe ratio for scatter points
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Specification-level metadata for frontier-efficient
2+
# Auto-synced to PostgreSQL on push to main
3+
4+
spec_id: frontier-efficient
5+
title: Efficient Frontier for Portfolio Optimization
6+
7+
# Specification tracking
8+
created: 2026-01-08T21:41:43Z
9+
updated: null
10+
issue: 3342
11+
suggested: MarkusNeusinger
12+
13+
# Classification tags (applies to all library implementations)
14+
# See docs/reference/tagging-system.md for detailed guidelines
15+
tags:
16+
plot_type:
17+
- scatter
18+
- line
19+
data_type:
20+
- numeric
21+
- continuous
22+
domain:
23+
- finance
24+
- statistics
25+
features:
26+
- basic
27+
- 2d
28+
- correlation
29+
- color-mapped

0 commit comments

Comments
 (0)