Skip to content

Commit c25ab95

Browse files
authored
Improve mathematical descriptions in docs. Add power norm x at risk measure, add scenario weights to drawdown risk measures. Add distributionally robust drawdown at risk measure. (#53)
* Docs up to Fees. * Correctness fix to drawdowns auxiliary function used for plotting. * Remove side effects from Y X at Risk risk measure families. * Add distributionally robust conditional drawdown at risk. * Add Power Norm X at Risk measures. * Implement Power X at Risk measures. * Implement Distributionally Robust Drawdown at Risk measure. * Enable Drawdown at Risk for non-clustering optimisation. * Add scenario weights to Y Drawdown at Risk measures.
1 parent c517b1c commit c25ab95

File tree

136 files changed

+1517
-599
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+1517
-599
lines changed

.github/workflows/Copier.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
pre-commit run -a || true # Ignore pre-commit errors
4545
- name: Create Pull Request
4646
id: cpr
47-
uses: peter-evans/create-pull-request@v7
47+
uses: peter-evans/create-pull-request@v8
4848
with:
4949
token: ${{ secrets.COPIER_PAT }}
5050
commit-message: ":robot: BestieTemplate.jl update"

.github/workflows/PreCommitUpdate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
pre-commit autoupdate || true
2828
- name: Create Pull Request
2929
id: cpr
30-
uses: peter-evans/create-pull-request@v7
30+
uses: peter-evans/create-pull-request@v8
3131
with:
3232
commit-message: "chore: :robot: pre-commit update"
3333
title: "[AUTO] pre-commit update"

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ repos:
2626
- id: check-merge-conflict
2727
args: [--assume-in-merge]
2828
- repo: https://github.com/igorshubovych/markdownlint-cli
29-
rev: v0.46.0
29+
rev: v0.47.0
3030
hooks:
3131
- id: markdownlint-fix
3232
- repo: https://github.com/citation-file-format/cffconvert

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "PortfolioOptimisers"
22
uuid = "e0036ec9-05e5-505d-a6a9-07af41c94861"
3-
version = "0.12.0"
3+
version = "0.12.1"
44
authors = ["Daniel Celis Garza <daniel.celis.garza@gmail.com>"]
55

66
[deps]

docs/src/api/15_Turnover.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Turnover
1+
# Asset turnover
22

3-
The turnover is used to measure the absolute weight change between the current weights and benchmark weights. They can be used to compute fees, or as a constraint. It can also be used as a risk measure, but we will detail that use in [Risk Measures](./18_RiskMeasures/17_TurnoverRiskMeasure.md)
3+
The turnover is used to measure the absolute weight change between the current weights and benchmark weights. They can be used to compute fees, or as a constraint. It can also be used as a risk measure, but we will detail that use in [Risk Measures](./19_RiskMeasures/17_TurnoverRiskMeasure.md)
44

55
```@docs
66
TurnoverEstimator

docs/src/api/16_Fees.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Portfolio and asset fees
2+
3+
In active, and small quantity investing, fees can be a non-negligible factor that affects portfolio returns. `PortfolioOptimisers.jl` has the capability of including a variety of fees.
4+
5+
```@docs
6+
FeesEstimator
7+
Fees
8+
FeesE_Fees
9+
fees_constraints
10+
fees_view
11+
calc_fees
12+
calc_fixed_fees
13+
calc_asset_fees
14+
calc_asset_fixed_fees
15+
```

docs/src/api/16_Portfolio_Returns.md

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Net returns and drawdowns
2+
3+
Net returns and drawdowns are two of the performance metrics of a portfolio. Here we define functions used to compute portfolio returns and related quantities.
4+
5+
```@docs
6+
calc_net_returns
7+
calc_net_asset_returns
8+
cumulative_returns
9+
drawdowns
10+
```
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)