bayesline.api.equity.PortfolioStressTestMeasureSettings#

pydantic model bayesline.api.equity.PortfolioStressTestMeasureSettings#

Show JSON schema
{
   "title": "PortfolioStressTestMeasureSettings",
   "type": "object",
   "properties": {
      "type": {
         "const": "PortfolioStressTest",
         "default": "PortfolioStressTest",
         "title": "Type",
         "type": "string"
      },
      "shock_size": {
         "default": 0.1,
         "description": "The size of the shock to apply.",
         "title": "Shock Size",
         "type": "number"
      }
   },
   "additionalProperties": false
}

Config:
  • frozen: bool = True

  • extra: str = forbid

Fields:
  • shock_size (float)

  • type (Literal['PortfolioStressTest'])

field type: Literal['PortfolioStressTest'] = 'PortfolioStressTest'#
field shock_size: float = 0.1#

The size of the shock to apply.

property columns: list[str]#