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

Negative Settlement Days #765

Closed
yy726 opened this issue Feb 2, 2020 · 3 comments
Closed

Negative Settlement Days #765

yy726 opened this issue Feb 2, 2020 · 3 comments

Comments

@yy726
Copy link

yy726 commented Feb 2, 2020

Hi,

My name is Darcy, and I am corporate user of Quantlib. A big thanks to the contributors for your great work! [Thumbs up]

I am using OISRateHelper recently, and I try to set up a overnight index swap. The settlement days (or fixing lag, in this post) is -1 days according to Quantlib definition, meaning that the instrument only settles one day after the rate is available. However, the type for settlement days parameter is Natural, so I cannot possibly set up this parameter.

https://www.quantlib.org/reference/class_quant_lib_1_1_o_i_s_rate_helper.html

If any one can point me in the right direction, that will be deeply appreciated.

@lballabio
Copy link
Owner

That would be passed as 1 settlement or fixing days, not -1.

@stale
Copy link

stale bot commented May 3, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label May 3, 2020
@stale
Copy link

stale bot commented Jun 2, 2020

This issue has been automatically closed as stale.

@stale stale bot closed this as completed Jun 2, 2020
@lballabio lballabio removed the stale label Aug 27, 2022
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

2 participants