bayesline.api.equity.AssetStressTestMeasureSettings#
- pydantic model bayesline.api.equity.AssetStressTestMeasureSettings#
Settings for asset stress test measure.
This class defines settings for an asset stress test measure, which provides asset stress test calculations.
Show JSON schema
{ "title": "AssetStressTestMeasureSettings", "description": "Settings for asset stress test measure.\n\nThis class defines settings for an asset stress test measure,\nwhich provides asset stress test calculations.", "type": "object", "properties": { "type": { "const": "AssetStressTest", "default": "AssetStressTest", "title": "Type", "type": "string" }, "shock_size": { "default": 1.0, "description": "The size of the shock to apply in standard deviations.", "title": "Shock Size", "type": "number" } }, "additionalProperties": false }
- Config:
frozen: bool = True
extra: str = forbid
- Fields:
shock_size (float)type (Literal['AssetStressTest'])
- field type: Literal['AssetStressTest'] = 'AssetStressTest'#
- field shock_size: float = 1.0#
The size of the shock to apply in standard deviations.