bayesline.api.equity.MovingAverageMeasureSettings#

pydantic model bayesline.api.equity.MovingAverageMeasureSettings#

Show JSON schema
{
   "title": "MovingAverageMeasureSettings",
   "type": "object",
   "properties": {
      "type": {
         "const": "MovingAverage",
         "default": "MovingAverage",
         "title": "Type",
         "type": "string"
      },
      "window": {
         "default": "6mo",
         "description": "The size of the rolling window",
         "title": "Window",
         "type": "string"
      },
      "var": {
         "default": "r2",
         "description": "The variable to average",
         "enum": [
            "r2",
            "sigma2",
            "sigma"
         ],
         "title": "Var",
         "type": "string"
      }
   },
   "additionalProperties": false
}

Config:
  • frozen: bool = True

  • extra: str = forbid

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

  • var (Literal['r2', 'sigma2', 'sigma'])

  • window (str)

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

The size of the rolling window

field var: Literal['r2', 'sigma2', 'sigma'] = 'r2'#

The variable to average

property columns: list[str]#