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.1.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.1.0
File Size Uploaded Provenance Actions
portfolio_overview-0.1.0.tar.gz 116.0 kB Without provenance Details for portfolio_overview-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 133.8 kB

Release files / portfolio_overview-0.1.0.tar.gz

Download URL portfolio_overview-0.1.0.tar.gz
Size 116.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ee58a190d800788a50f690ef55b0c4950543a2896ef6ebbaf200e3bfae4040c8
BLAKE2b-256 checksum
How to use checksums
774c225201e8d761a6ef9c911def7e5104e340d201f66ca99326c1da9fbba016
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.1.0-py3-none-any.whl

Download URL portfolio_overview-0.1.0-py3-none-any.whl
Size 17.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a447e49fbd46252dfe0fa1e5ee69313f52794786123537210e3e33e3082f7aa0
BLAKE2b-256 checksum
How to use checksums
ccf1c6624f1c93325c15e65d7baffef8259d9c389d0ce2f9b3bb3171e6262063
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.1.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