bayesline.api.equity.CalendarSettingsMenu

bayesline.api.equity.CalendarSettingsMenu#

pydantic model bayesline.api.equity.CalendarSettingsMenu#

Contain the available settings that can be used for the calendar settings.

Show JSON schema
{
   "title": "CalendarSettingsMenu",
   "description": "Contain the available settings that can be used for the calendar settings.",
   "type": "object",
   "properties": {
      "exchanges": {
         "description": "\n        A list of mic codes of all exchanges. Must be sorted and unique.\n        ",
         "items": {
            "type": "string"
         },
         "title": "Exchanges",
         "type": "array"
      }
   },
   "additionalProperties": false,
   "required": [
      "exchanges"
   ]
}

Config:
  • frozen: bool = True

  • extra: str = forbid

Fields:
  • exchanges (list[str])

field exchanges: Annotated[list[str]] [Required]#

A list of mic codes of all exchanges. Must be sorted and unique.

Constraints:
  • func = <function require_sorted_unique at 0x7fe2f84f2980>

describe() str#

Describe the calendar settings menu.

Returns#

str

Description of the settings menu.