derivitec.risk_engine.types.FxGamma

class derivitec.risk_engine.types.FxGamma(risk_measure_id_stored=None, shock_size=None, vol_surface_spot_model=SpotModel.StickyDelta, use_inverse_currency_shock=False)[source]
__init__(risk_measure_id_stored=None, shock_size=None, vol_surface_spot_model=SpotModel.StickyDelta, use_inverse_currency_shock=False)[source]
Parameters:
  • risk_measure_id_stored – The risk measure id stored

  • shock_size – The shock size

  • vol_surface_spot_model – The vol surface spot model

  • use_inverse_currency_shock – The use inverse currency shock flag

Methods

IsKeyValuePairListType(key_class_instance, ...)

__init__([risk_measure_id_stored, ...])

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()