pp-portfolio-classifier 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/img/autoclassified-stock-style.png +0 -0
- package/package.json +1 -1
- package/readme.md +11 -6
|
Binary file
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Portfolio Performance Classifier (TypeScript)
|
|
2
2
|
|
|
3
|
+

|
|
4
|
+
[](https://github.com/rylorin/pp-portfolio-classifier/actions/workflows/npm-publish.yml)
|
|
5
|
+

|
|
6
|
+

|
|
7
|
+
|
|
3
8
|
This project is an automation tool for [Portfolio Performance](https://www.portfolio-performance.info/). It automatically classifies your securities (Funds, ETFs, Stocks) by retrieving data from Morningstar.
|
|
4
9
|
|
|
5
10
|
It is a **TypeScript** adaptation and rewrite of the Python project [Alfons1Qto12/pp-portfolio-classifier](https://github.com/Alfons1Qto12/pp-portfolio-classifier), offering strong typing, and more flexible configuration.
|
|
@@ -42,7 +47,6 @@ To run the classification on your portfolio file:
|
|
|
42
47
|
|
|
43
48
|
```bash
|
|
44
49
|
npx pp-portfolio-classifier -- <path_to_your_portfolio.xml> [output_path.xml]
|
|
45
|
-
|
|
46
50
|
```
|
|
47
51
|
|
|
48
52
|
- **Input** - The path to your current Portfolio Performance `.xml` file.
|
|
@@ -76,12 +80,13 @@ This is ideal for adapting category names to your language or personal preferenc
|
|
|
76
80
|
},
|
|
77
81
|
"taxonomies": {
|
|
78
82
|
"asset_type": {
|
|
83
|
+
"active": true,
|
|
79
84
|
"name": "Classes d’actifs",
|
|
80
85
|
"stockConfig": {
|
|
81
86
|
"value": ["Actions"]
|
|
82
87
|
}
|
|
83
88
|
},
|
|
84
|
-
"country_by_region": { "name": "Zones économiques" },
|
|
89
|
+
"country_by_region": { "active": true, "name": "Zones économiques" },
|
|
85
90
|
"sector": { "active": true },
|
|
86
91
|
"region": {
|
|
87
92
|
"active": false
|
|
@@ -121,19 +126,19 @@ Although this script takes care not to corrupt XML files, **always back up your
|
|
|
121
126
|
|
|
122
127
|
### Autoclassified stock-style
|
|
123
128
|
|
|
124
|
-
|
|
129
|
+

|
|
125
130
|
|
|
126
131
|
### Autoclassified Regions
|
|
127
132
|
|
|
128
|
-
|
|
133
|
+

|
|
129
134
|
|
|
130
135
|
### Autoclassified Sectors
|
|
131
136
|
|
|
132
|
-
|
|
137
|
+

|
|
133
138
|
|
|
134
139
|
### List of stocks and holdings from Top 10 of each fund
|
|
135
140
|
|
|
136
|
-
|
|
141
|
+

|
|
137
142
|
|
|
138
143
|
## Credits
|
|
139
144
|
|