Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next Iteration of Ecosystem #15

Open
alecloudenback opened this issue Feb 9, 2025 · 0 comments
Open

Next Iteration of Ecosystem #15

alecloudenback opened this issue Feb 9, 2025 · 0 comments

Comments

@alecloudenback
Copy link
Member

alecloudenback commented Feb 9, 2025

Define root FinancialMeasure trait, which should facilitate balance sheet modeling implementations.

  • Flow
  • Balance

Cashflow <: Flow

All value related functions should use Cashflow{U,T} instead of allowing time and cashflows to be input separately (mostly affects ActuaryUtilities?)

Handling Dates

Ideally proper date handling would be part of this revamp. Timepoint already exists but the use is not clear downstream.

Core Functionality

Instead of present_value, the core function would be value which would have an inner call for all contracts to push the model through the contract to handle any dependencies, e.g. something like:

function value(model,contract) 
	contract(econ)
        ...
end

This would allow for more natural handling of contracts which depend on the economic conditions. Further, if the model is, e.g. stochastic, adding a method for value for the associated model would allow for the logic to synthesize into a scalar value.

Proof of concept:

Image

Sensitivity Analysis

How to better expose sensitivity analysis with this? duration is currently solely focused on a scalar discount rate or a single curve, but not if the economic parameters are a basket of curves. Is there some way to use accessors to tell a sensitivity function which parameter to sensitize, with yields just being a special case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant