Skip to content

EquityVolSurfaceConstructionSVI.ipynb EquityVolSurface.check_calibration() too many arguments #226

@JustiP3

Description

@JustiP3

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions