Skip to content

Commit 282a539

Browse files
authored
Breaking changes: New logo, code and docs cleanup, new tracking and regularisation features. Name changes for tracking algorithms (#66)
* Remove redundancy in docs * Remove double qualification of `StatsBase` * Improve docs * Add Lp and LInf regularisation * Add Lp and LInf tracking algorithms * New logo, regularisation example, remove dead code * Add newer versions to project compats * Breaking: `NOCTracking` -> `L1Tracking`, `SOCTracking` -> `L2Tracking`, `SquaredSOCTracking` -> `SquaredL2Tracking`, `PNormTracking` -> `LpTracking`, `InfNormTracking` -> `LInfTracking
1 parent 717758b commit 282a539

File tree

94 files changed

+11601
-7568
lines changed

Some content is hidden

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

94 files changed

+11601
-7568
lines changed

Project.toml

Lines changed: 8 additions & 8 deletions
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.14.2"
3+
version = "0.15.0"
44
authors = ["Daniel Celis Garza <daniel.celis.garza@gmail.com>"]
55

66
[deps]
@@ -45,30 +45,30 @@ ArgCheck = "2.5"
4545
AverageShiftedHistograms = "0.8"
4646
Clustering = "0.15"
4747
DataFrames = "1.8"
48-
Dates = "1.11.0"
48+
Dates = "1.12, 1.11"
4949
Distances = "0.10"
5050
Distributions = "0.25"
5151
FLoops = "0.2"
5252
GLM = "1.9"
5353
GraphRecipes = "0.5"
5454
Graphs = "1.13"
5555
Impute = "0.6"
56-
InteractiveUtils = "1.12, 1.11, 1.10"
56+
InteractiveUtils = "1.12, 1.11"
5757
JuMP = "1.29"
58-
LinearAlgebra = "1.12, 1.11, 1.10"
58+
LinearAlgebra = "1.12, 1.11"
5959
LogExpFunctions = "0.3"
6060
MultivariateStats = "0.10"
6161
NearestCorrelationMatrix = "1.1"
6262
Optim = "2.0, 1.13"
6363
PrecompileTools = "1.3, 1.2"
6464
PythonCall = "0.9"
65-
Random = "1.12, 1.11, 1.10"
65+
Random = "1.12, 1.11"
6666
Roots = "2.2"
6767
SimpleWeightedGraphs = "1.5"
68-
SparseArrays = "1.12, 1.11, 1.10"
69-
Statistics = "1.11, 1.10"
68+
SparseArrays = "1.12, 1.11"
69+
Statistics = "1.12, 1.11"
7070
StatsAPI = "1.8"
7171
StatsBase = "0.34"
7272
StatsPlots = "0.15"
7373
TimeSeries = "0.25"
74-
julia = "1.11, 1.10"
74+
julia = "1.12, 1.11"

docs/src/.vitepress/theme/style.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ https://github.com/vuejs/vitepress/blob/main/src/client/theme-default/styles/var
2424
--vp-font-family-mono: JuliaMono-Regular, monospace;
2525
}
2626

27-
/* Disable contextual alternates (kind of like ligatures but different) in monospace,
27+
/* Disable contextual alternates (kind of like ligatures but different) in monospace,
2828
which turns `/>` to an up arrow and `|>` (the Julia pipe symbol) to an up arrow as well. */
2929
.mono-no-substitutions {
3030
font-family: "JuliaMono-Regular", monospace;
@@ -95,12 +95,11 @@ code {
9595
--vp-home-hero-name-background: -webkit-linear-gradient(120deg,
9696
#9558B2 30%,
9797
#CB3C33);
98-
99-
--vp-home-hero-image-background-image: linear-gradient(-145deg,
98+
/* --vp-home-hero-image-background-image: linear-gradient(-145deg,
10099
#9558b282 30%,
101100
#3798269a 30%,
102101
#cb3d33e3);
103-
--vp-home-hero-image-filter: blur(40px);
102+
--vp-home-hero-image-filter: blur(40px); */
104103
}
105104

106105
/* Hero Section */
@@ -110,11 +109,12 @@ code {
110109
var(--julia-purple) 15%,
111110
var(--vp-dark-green-light),
112111
var(--vp-dark-green));
113-
--vp-home-hero-image-background-image: linear-gradient(-45deg,
112+
/* --vp-home-hero-image-background-image: linear-gradient(-45deg,
114113
var(--vp-dark-green) 30%,
115114
var(--vp-dark-green-light),
116-
var(--vp-dark-gray) 30%);
117-
--vp-home-hero-image-filter: blur(56px);
115+
var(--vp-dark-gray) 30%
116+
);
117+
--vp-home-hero-image-filter: blur(56px); */
118118
}
119119

120120
:root.dark {
@@ -168,4 +168,4 @@ mjx-container {
168168
mjx-container>svg {
169169
margin: auto;
170170
display: inline-block;
171-
}
171+
}

docs/src/api/01_Base.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Base abstract types
66

7-
`PortfolioOptimisers.jl` is designed in a deliberately structured and hierarchical way. This enables us to create self-contained, independent, composable processes. These abstract types form the basis of this hierarchy.
7+
`PortfolioOptimisers.jl` is designed in a deliberately structured and hierarchical way. Enabling us to create self-contained, independent, composable processes. These abstract types form the basis of this hierarchy.
88

99
```@docs
1010
AbstractEstimator
@@ -79,11 +79,12 @@ Num_VecNum_VecScalar
7979
Num_ArrNum_VecScalar
8080
```
8181

82-
## Documentation glossary
82+
## Documentation arg_dict
8383

84-
In order to standardise the documentation we use a glossary of terms.
84+
In order to standardise the documentation we use a arg_dict of terms.
8585

8686
```@docs
87-
glossary
88-
validation
87+
arg_dict
88+
val_dict
89+
ret_dict
8990
```

docs/src/api/18_Tracking.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
## Public
44

55
```@docs
6-
SOCTracking
7-
SquaredSOCTracking
8-
NOCTracking
6+
L2Tracking
7+
SquaredL2Tracking
8+
L1Tracking
99
IndependentVariableTracking
1010
DependentVariableTracking
1111
WeightsTracking

docs/src/assets/logo.svg

Lines changed: 47 additions & 96 deletions
Loading

0 commit comments

Comments
 (0)