-
Notifications
You must be signed in to change notification settings - Fork 4
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
rename Thirty360Excel to Thirty360US? #9
Comments
Similar to struct ThirtyE360 <: DayCount end
const EurobondBasis = ThirtyE360 How about something like struct ThirtyU360 <: DayCount end
const ExcelThirty360 = ThirtyU360 ? Let's try to be as internally consistent as possible (will ping on Slack :)). |
FYI. I added an Excel module: #10 In principle, we could move the code for const Excel.Thirty360 = ThirtyU360 What do you think? I may go ahead and push that change to the PR and see what you think there 😊 |
I went ahead and added that ☝️ to the PR. So the code that was in const DayCounts.Excel.Thirty360 = DayCounts.ThirtyU360 |
Is "ThirtyU360" a standard-ish enough name? |
I think so. It is the first listed "Other name" on Wikipedia and it is more consistent with our other type |
It matches what Wikipedia calls it "30/360 US":
https://en.wikipedia.org/wiki/Day_count_convention#30/360_US
It's not in the ISDA definition list, and I don't have access to the Mayle reference:
For reference, OpenGamma Strata calls it "30U/360 EOM".
The text was updated successfully, but these errors were encountered: