Skip to main content

portfolio-overview

Data-contract, base-currency-agnostic multi-custodian portfolio valuation, performance, risk, bond analytics, and Excel workbook engine.

portfolio-overview composes five standalone financial libraries into a deterministic, zero-network functional core:

  • eod-market-data — canonical EOD price/FX time-series store and calendar guards
  • ibkr-flex-accounting — optional Interactive Brokers Flex XML accounting snapshots
  • fhs-market-risk — EWMA Filtered Historical Simulation VaR/ES, walk-forward backtesting, and FX sensitivity
  • portfolio-twr — linked daily TWR, geometric contribution attribution, drawdown/Sharpe/Sortino, and Modified Dietz
  • callable-bond-analytics (optional [bonds] extra) — QuantLib callable/perpetual bond YTC, YTP/YTW, Modified Duration, and DV01

Architecture

No plugin registries or global state: every boundary is an immutable, versioned data contract.

YAML / CSV / IBKR Flex XML (or your private bank ETL)
        │
        ▼
  PortfolioBook  (typed input IR, schema_version = 1)
        │
        ▼
  evaluate(book)  (pure functional core, zero network IO)
        │
        ▼
  PortfolioReport (typed output IR, base-currency-agnostic JSON)
        │
        ├──▶ render_workbook(report, out.xlsx)
        └──▶ Your downstream consumers (private bank controls, email, MCP)

Installation

pip install portfolio-overview
# With QuantLib callable/AT1 bond analytics:
pip install "portfolio-overview[bonds]"

Quick Start

portfolio-overview validate examples/demo-portfolio
portfolio-overview build examples/demo-portfolio --out ./out

Or from Python:

from pathlib import Path
from portfolio_overview import evaluate, load_book, render_workbook

book = load_book(Path("examples/demo-portfolio"))
report = evaluate(book)
print(f"NAV ({report.base_currency}): {report.nav:,.2f}")
render_workbook(report, Path("out/portfolio-overview.xlsx"))

License

MIT — see LICENSE.

Metadata

Release files for portfolio-overview 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for portfolio-overview 0.2.0
File Size Uploaded Provenance Actions
portfolio_overview-0.2.0.tar.gz 121.6 kB Without provenance Details for portfolio_overview-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for portfolio-overview 0.2.0
File Interpreter ABI Platform Actions
portfolio_overview-0.2.0-py3-none-any.whl Python 3 none any Details for portfolio_overview-0.2.0-py3-none-any.whl

Total release size: 144.9 kB

Release files / portfolio_overview-0.2.0.tar.gz

Download URL portfolio_overview-0.2.0.tar.gz
Size 121.6 kB
Tags Source
SHA-256 checksum
How to use checksums
202b214dcc383642da9c7dfeb815954c64ceb9b1bc3e842debe09a1d339cf3af
BLAKE2b-256 checksum
How to use checksums
220c5c056f68e9ba347dea3f276ac95b2750de59ffb4b8a3c29147c72144ec4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / portfolio_overview-0.2.0-py3-none-any.whl

Download URL portfolio_overview-0.2.0-py3-none-any.whl
Size 23.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f377aa14f736baba210703d0c42e417d74c143242669c6bd9391126f2f0a9f99
BLAKE2b-256 checksum
How to use checksums
268205813d73bd18da81fd383f407c1e39a38e17a0ca1ac45d31778e6d44b31f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for portfolio-overview 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page