derivitec.risk_engine.types.HistoricalScenario

class derivitec.risk_engine.types.HistoricalScenario(scenario_name=None, scenario_description=None, start_date=None, end_date=None)[source]
__init__(scenario_name=None, scenario_description=None, start_date=None, end_date=None)[source]
Parameters:
  • scenario_name – The scenario name

  • scenario_description – The scenario description

  • start_date – The start date

  • end_date – The end date

Methods

IsKeyValuePairListType(key_class_instance, ...)

__init__([scenario_name, ...])

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