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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pp-portfolio-classifier",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "Automatic classification of Portfolio Performance securities using MorningStar Direct Web Services ",
5
5
  "keywords": [
6
6
  "portfolio-performance",
package/readme.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Portfolio Performance Classifier (TypeScript)
2
2
 
3
+ ![Version](https://img.shields.io/github/package-json/v/rylorin/pp-portfolio-classifier)
4
+ [![Publish](https://github.com/rylorin/pp-portfolio-classifier/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/rylorin/pp-portfolio-classifier/actions/workflows/npm-publish.yml)
5
+ ![License](https://img.shields.io/badge/License-MIT-blue.svg)
6
+ ![Downloads](https://img.shields.io/npm/dt/pp-portfolio-classifier.svg)
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
- <img src="docs/img/autoclassified-stock-style.png" alt="Autoclassified Security types" width="600"/>
129
+ ![Autoclassified stock-style](https://raw.githubusercontent.com/rylorin/pp-portfolio-classifier/refs/heads/main/docs/img/autoclassified-stock-style.png)
125
130
 
126
131
  ### Autoclassified Regions
127
132
 
128
- <img src="docs/img/autoclassified-regions.png" alt="Autoclassified Regions" width="600"/>
133
+ ![Autoclassified Regions](https://raw.githubusercontent.com/rylorin/pp-portfolio-classifier/refs/heads/main/docs/img/autoclassified-regions.png)
129
134
 
130
135
  ### Autoclassified Sectors
131
136
 
132
- <img src="docs/img/autoclassified-sectors.png" alt="Autoclassified Sectors" width="600"/>
137
+ ![Autoclassified Sectors](https://raw.githubusercontent.com/rylorin/pp-portfolio-classifier/refs/heads/main/docs/img/autoclassified-sectors.png)
133
138
 
134
139
  ### List of stocks and holdings from Top 10 of each fund
135
140
 
136
- <img src="docs/img/top-10-holdings.png" alt="Holdings from Top 10" width="600"/>
141
+ ![List of stocks and holdings from Top 10 of each fund](https://raw.githubusercontent.com/rylorin/pp-portfolio-classifier/refs/heads/main/docs/img/top-10-holdings.png)
137
142
 
138
143
  ## Credits
139
144