-
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
Local testing broken, seems related to market consistency issue #46
Comments
Thanks for the report, I can try to take a look this week. One suspicion is that the default rate from some types of Yield curves (in the Yields.jl package, the predecessor to the current FinanceModels package) returned rate types of Periodic instead of Continuous. All of the yield models from Finance Models now return a continuous type. Just a theory but one of the places I’d start looking. |
A bit more color: I recently migrate one of the dependencies in FinanceModels from BSplineKit to DataInterpolations (which is more lightweight and loads faster). This is related to the functionality that provides the interpolations for the curves. Something in that isn't working, so as a temporary fix, I have limited the compat of FinanceModels to use the version prior to the upstream change. Updating/resolving your environment should fix this (after the new version gets merged into General) and I've created a couple of issues to track the follow up. LMK if you still need help or encounter other issues. |
Thank you Alec, tests pass! |
Hello, thank you for this package!
test results.
some what long session log, can skip to the bottom.
some context
I ran tests because i had somewhat strange results running the instructions form the help pages
I systematically got charts like here, where simulated curves were shifted upwards as compared to the initial curve, which does not look right : The scenarios should average to the input market data, so as to be market consistent. I am not completely sure if this applies in the price space or yield space, but anyway the chart seems off.
See attached file (chart saved from vscode into an SVG file, need to load an svg extension in VSCode in order to display it there)
![plot_3](https://private-user-images.githubusercontent.com/58320927/324270845-b40b8694-8fce-4b3c-8c43-953c3068c926.svg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyMTc4NzEsIm5iZiI6MTcyMTIxNzU3MSwicGF0aCI6Ii81ODMyMDkyNy8zMjQyNzA4NDUtYjQwYjg2OTQtOGZjZS00YjNjLThjNDMtOTUzYzMwNjhjOTI2LnN2Zz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE3VDExNTkzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYxYmRjYzU0YzQ4ODA5ODk5YTE0NjE4YTNhOTA5NmY3MDFiNDZhZDQ3NjI2NjhkNzk5NTUxYmI3ZDZiNjI5Y2EmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.NXJDLi1xxQb-6MANlbORqDyCJrZk9B3rsi6oML6_eCQ)
Happy to help!
The text was updated successfully, but these errors were encountered: