derivitec.risk_engine.types.FxSpotShock¶
- class derivitec.risk_engine.types.FxSpotShock(calculate_price_changes=None, include_reporting_currency_shock=None, risk_measure_id_stored=None, shock_size=None, vol_surface_spot_model=SpotModel.StickyDelta, use_inverse_currency_shock=False)[source]¶
- __init__(calculate_price_changes=None, include_reporting_currency_shock=None, risk_measure_id_stored=None, shock_size=None, vol_surface_spot_model=SpotModel.StickyDelta, use_inverse_currency_shock=False)[source]¶
- Parameters:
calculate_price_changes – The calculate price changes
include_reporting_currency_shock – The include reporting currency shock
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__([calculate_price_changes, ...])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()