-
Notifications
You must be signed in to change notification settings - Fork 32
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
price_dataframe non-default source index breaks results #4
Comments
Good call! Will include in next version of the library. Thank you! |
I was going to report a similar issue. Mine was for the case of implied volatility calculation for line:
Thanks for writing this code!
|
fixed by #21 |
Thanks very much for making the library available @marcdemers. You've saved me a ton of time!
One issue I noticed straight away in my own code is that my source dataframe for the
price_dataframe
api function has a non-standard index and this breaks the results.Three examples below show what I mean. The first two (failing) examples can be fixed by using the
to_numpy()
method on theprice
,sigma
andgreek[]
returns. The third example (your original in the docs) is not impacted by this change.The fix is to apply
to_numpy()
like this inprice_dataframe
:The text was updated successfully, but these errors were encountered: