-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Applying spreads to forward rates #2122
Comments
Thanks for posting! It might take a while before we look at your issue, so don't worry if there seems to be no feedback. We'll get to it. |
Are we talking about an implementation like "InterpolatedPiecewiseForwardSpreadedTermStructure"? |
Alternatively how about something like --> Where also we tweak: ForwardSpreadedTermStructure::forwardImpl(Time t) to conditionally add the spread if in range? |
Apologies for my initial spec, I would need to specify time-dependent spreads on the forwards, furthermore I have realised that what I'm looking to do can be achieved using backwardflat interpolation so I think your suggestion of InterpolatedPiecewiseForwardSpreadedTermStructure sounds great |
As discussed in the email chain, it would be useful in my view to be able to apply spreads to forward rates. I would like to be able to provide a set of data such as:
start_date
end_date
spread_bp
and apply those to curves, rather than being restricted to use spreads from spot as is currently the case
The text was updated successfully, but these errors were encountered: