derivitec.market_data.types.VolCurve

class derivitec.market_data.types.VolCurve(provider_id=None, maturities=None, reference_date=None, vols=None, spot_ref=None)[source]
__init__(provider_id=None, maturities=None, reference_date=None, vols=None, spot_ref=None)[source]
Parameters:
  • provider_id – The provider id

  • maturities – The benchmark maturities

  • reference_date – The reference date

  • vols – The vols

  • spot_ref –

    The spot ref. spot_ref is used for vol surface construction only (i.e. to convert the supplied vol grid into z-space). It is distinct from equity_vol_surface_spot_model on the MarketDataOverride, which controls how the vol surface slides when a spot override is supplied.

    When both a spot override and a vol grid override are present, equity_vol_surface_spot_model only makes a difference if the spot_ref embedded in the vol grid differs from the spot override.

Methods

IsKeyValuePairListType(key_class_instance, ...)

__init__([provider_id, maturities, ...])

json_params()

JSON param names.

rebuild(content)

Recursive rebuild.

recursive_decompose(item)

Helper function to recursively convert some types to a suitable format for json.

to_dict()

typename()