FinancePy
FinancePy copied to clipboard
EquityVolSurfaceConstructionSVI.ipynb EquityVolSurface.check_calibration() too many arguments
In the notebook: https://github.com/domokane/FinancePy/blob/master/notebooks/market/volatility/EquityVolSurfaceConstructionSVI.ipynb
At this step: In [12]: equitySurface.check_calibration(False, tol)
The following error is generated: TypeError: EquityVolSurface.check_calibration() takes 2 positional arguments but 3 were given
If the instance method is called in this way, the error message is avoided: equitySurface.check_calibration(tol)
I believe the notebook needs to be updated
Hi - I will be back on this in a 3-4 weeks. If you need it sooner, consider implementing it yourself with a pull request. Thanks