bayesline.api.equity.DrawdownMeasureSettings

bayesline.api.equity.DrawdownMeasureSettings#

pydantic model bayesline.api.equity.DrawdownMeasureSettings#

Show JSON schema
{
   "title": "DrawdownMeasureSettings",
   "type": "object",
   "properties": {
      "type": {
         "const": "Drawdown",
         "default": "Drawdown",
         "title": "Type",
         "type": "string"
      },
      "window": {
         "default": "6mo",
         "description": "The size of the rolling window",
         "title": "Window",
         "type": "string"
      }
   },
   "additionalProperties": false
}

Config:
  • frozen: bool = True

  • extra: str = forbid

Fields:
  • type (Literal['Drawdown'])

  • window (str)

field type: Literal['Drawdown'] = 'Drawdown'#
field window: str = '6mo'#

The size of the rolling window