DuckDB Finance Quant SQL Extension

0.2.0 Roadmap

0.2.0 should make DuckDB Finance easier to trust from agents, notebooks, CI fixtures, and desk-style SQL workflows. The release should prioritize documented behavior, executable examples, and model boundaries over broad API expansion.

Release Goal

Ship a finance-first extension that a user or agent can install, inspect, and apply without guessing:

Non-Goals

0.2.0 should not attempt to become a market data connector, calibration service, trading system, portfolio book of record, or vendor-compatible clone. The extension should stay local, deterministic, and explicit about inputs.

Workstreams

Community Package Availability

The extension is published through DuckDB Community Extensions. The remaining release work is to keep the upstream catalog entry, install smoke, and docs in sync with tagged releases.

Acceptance criteria:

Agent-Ready Function Selection

Agents need task-oriented routing before they need more functions.

Acceptance criteria:

Candidate workflows:

Reference Quality

The function reference should stay complete, but 0.2.0 should improve the highest-traffic entries first.

Acceptance criteria:

Playbooks And Examples

Playbooks should demonstrate repeatable analysis, not isolated syntax.

Acceptance criteria:

Numerical Review

Before adding breadth, review correctness for core finance models.

Acceptance criteria:

Performance And CI

The CI shape should stay fast without hiding behavior regressions.

Acceptance criteria:

Release Hygiene

Each release should be reproducible from main.

Acceptance criteria:

Suggested Milestones

Milestone Focus Exit Criteria
0.2.0-alpha.1 Upstream publication and install smoke Community install works in CI or the upstream blocker is documented.
0.2.0-alpha.2 Agent routing and cookbook polish Top workflows have runnable examples and reference links.
0.2.0-beta.1 Numerical and edge-case review Core options, rates, risk, and portfolio behaviors have focused tests.
0.2.0 Stable docs and release polish Main CI, docs, Pages, install smoke, and release metadata are green.

Definition Of Done

Before tagging 0.2.0:

make check DUCKDB_ROOT=/path/to/duckdb
python3 scripts/check_release_metadata.py --tag v0.2.0

Also confirm: