-
Notifications
You must be signed in to change notification settings - Fork 28
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
Use yc_mget for multiple dates and yc_get for a single date #26
Comments
@wilsonfreitas Im not sure I get it. Function But, if you fell it is worth the work, do it. I'm not particularly picky about this stuff, as long as it works as intended. |
It's all about API design. I will go on with this topic and keep you informed. |
Done |
I rarely use yield curves for multiples dates.
In instruments pricing the common use is to fetch the yield curve for one specific date and price the financial instruments with that curve.
So, my suggestion is: use yc_mget for multiple dates, following the same interface that is now used in yc_get.
And yc_get should return one single curve for the given date.
The same can be applied to futures_get:
futures_mget
for multiple dates andfutures_get
for a single date.get
andmget
names are commonly used in nosql databases to express the same behavior/idea.@msperlin what do you think about that?
The text was updated successfully, but these errors were encountered: