Public API reference¶
The supported import surface is re-exported from goal_based_allocation. The catalogue below is
checked against the installed package so documentation cannot name a missing symbol. Follow the
module links for source and implementation docstrings.
Wealth-floor model and analytics¶
Public symbol |
Purpose |
|---|---|
|
Two-regime diffusion, transition, and jump parameters. |
|
Asset-level wealth-floor specification. |
|
Named mandate specification. |
|
Bounded regime-conditional transition density. |
|
Analytical survival probability. |
|
Tilted survival transform for moments. |
|
Jump-overshoot density below the barrier. |
|
Asset specifications used by the paper. |
|
Named paper mandate specifications. |
|
Exact buy-and-hold moments by matrix exponential. |
Source: regime_switch_paper.py.
MV-optimal policy¶
Public symbol |
Purpose |
|---|---|
|
Solve the Riccati policy for a target return. |
|
Map a Riccati solution to the terminal gap process. |
Source: riccati_solver.py.
Effective assets and opportunity sets¶
Public symbol |
Purpose |
|---|---|
|
Aggregate the multi-asset mandate to one effective asset. |
|
Unconditional portfolio volatility used by mandate construction. |
|
Deterministic effective-jump quadrature. |
|
Advisor-side opportunity-set assumptions. |
|
Compute one analytical mandate and benchmark. |
|
Compute a bond-weight opportunity set. |
Sources: client_solver.py
and opportunity_set.py.
European options¶
Public symbol |
Purpose |
|---|---|
|
Risk-neutral two-regime option parameters. |
|
Call/put selection. |
|
Growth/stress starting regime. |
|
Joint-strike European call/put pricing. |
|
Black-Scholes implied volatility inversion. |
Source: vanilla_option_pricer.py.
Variance analytics¶
Public symbol |
Purpose |
|---|---|
|
Variance-swap convention selection. |
|
Diffusion/jump/regime variance decomposition. |
|
Variance risk-premium result. |
|
Size-premium calibration result. |
|
Closed-form variance-swap strike. |
|
Decompose total variance into model components. |
|
Expected regime occupation times. |
|
Jump-induced skew-gap diagnostic. |
|
Compare physical and risk-neutral variance. |
|
Infer crash size from a variance-swap input. |
|
Cross-check skew and variance restrictions. |
Source: variance_swap.py.
Advanced module¶
The inversion algorithms in
laplace_inversion.py
are lower-level numerical machinery. Prefer the model-level public functions above unless
implementing or validating a transform calculation.