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.3.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.3.0
File Size Uploaded Provenance Actions
portfolio_overview-0.3.0.tar.gz 124.1 kB Without provenance Details for portfolio_overview-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 148.6 kB

Release files / portfolio_overview-0.3.0.tar.gz

Download URL portfolio_overview-0.3.0.tar.gz
Size 124.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ad27d7024f4e6baf20d42970966c54c357888bc8781d2cf66b02e22a8e445bbb
BLAKE2b-256 checksum
How to use checksums
cdf4871724837e2513ce3fbe2d1bff44bfdac5283adf6f10908614187ceae1e4
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.3.0-py3-none-any.whl

Download URL portfolio_overview-0.3.0-py3-none-any.whl
Size 24.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3bf8e1148c9818f718fe48a089060ca59efd83a790b40f3d405f0d20523c9076
BLAKE2b-256 checksum
How to use checksums
6419a97f45dc1ddf9b331c6ab244fd2bf4f0144ccd7d59f5cacfdeee255e9ad2
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.3.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