Tool to convert exports from various brokers to a CSV format compatible with Portfolio Performance.
Project description
Broker to Portfolio Performance Converter
Tool to convert exports from various brokers to a CSV format compatible with Portfolio Performance. The system automatically detects the broker format from the input files.
Supported Brokers
| Broker | Input Format | Detection Status | Instructions |
|---|---|---|---|
| Binance | CSV | ✅ Automatic | View Instructions |
| Coinbase | CSV | ✅ Automatic | View Instructions |
| Inversis | Excel / HTML | ✅ Automatic | View Instructions |
| MyInvestor | CSV | ✅ Automatic | View Instructions |
| XTB | Excel | ✅ Automatic | View Instructions |
Quick Start (Recommended)
The easiest way to run the tool without installing it globally is using uvx (part of the uv toolchain).
Launch Web Interface:
uvx --from portfolio-performance-converter pp-converter web
Run CLI:
uvx --from portfolio-performance-converter pp-converter -i input.csv -o output.csv
Alternative Installation
Using pip
Install the package from PyPI:
pip install portfolio-performance-converter
Then run it:
# Web Interface
pp-converter web
# CLI
pp-converter -i input.csv -o output.csv
Run from Source (with uv)
If you want to run the latest version from git without cloning:
# Web Interface
uvx --from git+https://github.com/marmol-dev/portfolio-performance-converter portfolio-performance-converter web
Or if you have cloned the repository:
# Run directly from source folder
uv run pp-converter web
Usage Examples
CLI Basic Usage:
pp-converter --input <path_to_file> --output <output_file.csv>
Examples:
# Single file
pp-converter --input "orders.csv" --output "converted.csv"
# Multiple files
pp-converter --input file1.csv file2.xlsx --output "consolidated.csv"
Development
If you want to contribute or work with the source code:
1. Clone the repository
git clone <repository_url>
cd portfolio-performance-converter
2. Install dependencies (with uv)
We recommend using uv for development.
uv sync
3. Running Tests
uv run pytest
Project Structure
src/: Main source code.converters/: Conversion modules for each broker.utils.py: Shared utility functions.market_data.py: Interaction with Yahoo Finance.main.py: Unified CLI entry point.app.py: Web graphical interface (Gradio).
config.yaml: Configuration of overrides for ISINs/Symbols.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file portfolio_performance_converter-0.1.1.tar.gz.
File metadata
- Download URL: portfolio_performance_converter-0.1.1.tar.gz
- Upload date:
- Size: 194.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df121d74cff6c9b2e0f74336ad143688793131c5ed75f7af266adc683b4645f1
|
|
| MD5 |
777c6b24c78a9567d046858f9e6a9517
|
|
| BLAKE2b-256 |
bb2b0128e8c03a90222a6856915bed175fc967d0ef245157f4d23038acbb07f0
|
Provenance
The following attestation bundles were made for portfolio_performance_converter-0.1.1.tar.gz:
Publisher:
ci.yml on marmol-dev/portfolio-performance-converter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
portfolio_performance_converter-0.1.1.tar.gz -
Subject digest:
df121d74cff6c9b2e0f74336ad143688793131c5ed75f7af266adc683b4645f1 - Sigstore transparency entry: 853921484
- Sigstore integration time:
-
Permalink:
marmol-dev/portfolio-performance-converter@9f4a1b894e3d164d76e7ab5d77bd79a0244aa7bb -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/marmol-dev
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@9f4a1b894e3d164d76e7ab5d77bd79a0244aa7bb -
Trigger Event:
push
-
Statement type:
File details
Details for the file portfolio_performance_converter-0.1.1-py3-none-any.whl.
File metadata
- Download URL: portfolio_performance_converter-0.1.1-py3-none-any.whl
- Upload date:
- Size: 27.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c9b13663d070eb8e5fc1f120e77ab405667b6073c230fcfe9d30c2b3990e1e4
|
|
| MD5 |
b0ab425d5a188690d668c98a24b61452
|
|
| BLAKE2b-256 |
d07710c7164d4876fd43a44e2bd44f30a0ce0ac581884a8f6883a852fd264017
|
Provenance
The following attestation bundles were made for portfolio_performance_converter-0.1.1-py3-none-any.whl:
Publisher:
ci.yml on marmol-dev/portfolio-performance-converter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
portfolio_performance_converter-0.1.1-py3-none-any.whl -
Subject digest:
9c9b13663d070eb8e5fc1f120e77ab405667b6073c230fcfe9d30c2b3990e1e4 - Sigstore transparency entry: 853921485
- Sigstore integration time:
-
Permalink:
marmol-dev/portfolio-performance-converter@9f4a1b894e3d164d76e7ab5d77bd79a0244aa7bb -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/marmol-dev
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@9f4a1b894e3d164d76e7ab5d77bd79a0244aa7bb -
Trigger Event:
push
-
Statement type: