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

BUG: Curve.shift may unnecessarily drop Dual configurations and return only ad=0 Curve #153

Open
attack68 opened this issue Apr 28, 2024 · 0 comments

Comments

@attack68
Copy link
Owner

curve = Curve(
    nodes={dt(2023, 3, 7): 1.0, dt(2033, 9, 7): 0.68},
    calendar="ldn",
    convention="act365f",
)
sensitivity_curve = curve.shift(Dual(0.0, ["z"], []))

Sensitivity curve has no sensitivity.

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

No branches or pull requests

1 participant