Skip to content

Commit 6ec1288

Browse files
authored
[DOC] remove empty boxes in README (#683)
PR #676 added empty boxes in the readme used for testing. This is confusing for the user, as the empty blocks get displayed as empty boxes, creating the impression of an error or misrendering. This needs to be removed, and we should think separately about how the testing can be achieved nonetheless. FYI @tschm
1 parent 7b88cce commit 6ec1288

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,6 @@ The covariance matrix encodes not just the volatility of an asset, but also how
253253
ef = EfficientFrontier(mu, S, weight_bounds=(-1, 1))
254254
```
255255

256-
```result
257-
```
258-
259256
- Market neutrality: for the `efficient_risk` and `efficient_return` methods, PyPortfolioOpt provides an option to form a market-neutral portfolio (i.e weights sum to zero). This is not possible for the max Sharpe portfolio and the min volatility portfolio because in those cases because they are not invariant with respect to leverage. Market neutrality requires negative weights:
260257

261258
```python
@@ -293,9 +290,6 @@ SBUX: 0.0330
293290
ef = EfficientFrontier(mu, S, weight_bounds=(0, 0.1))
294291
```
295292

296-
```result
297-
```
298-
299293
One issue with mean-variance optimization is that it leads to many zero-weights. While these are
300294
"optimal" in-sample, there is a large body of research showing that this characteristic leads
301295
mean-variance portfolios to underperform out-of-sample. To that end, I have introduced an
@@ -421,9 +415,6 @@ PyPortfolioOpt provides a test dataset of daily returns for 20 tickers:
421415
['GOOG', 'AAPL', 'FB', 'BABA', 'AMZN', 'GE', 'AMD', 'WMT', 'BAC', 'GM', 'T', 'UAA', 'SHLD', 'XOM', 'RRC', 'BBY', 'MA', 'PFE', 'JPM', 'SBUX']
422416
```
423417

424-
```result
425-
```
426-
427418
These tickers have been informally selected to meet several criteria:
428419

429420
- reasonably liquid

0 commit comments

Comments
 (0)