bayesline.api.equity.PortfolioHierarchySettingsMenu#

pydantic model bayesline.api.equity.PortfolioHierarchySettingsMenu#

Specifies the set of available portfolios that can be used to create hierarchies.

Show JSON schema
{
   "title": "PortfolioHierarchySettingsMenu",
   "description": "Specifies the set of available portfolios that can be used to create hierarchies.",
   "type": "object",
   "properties": {
      "sources": {
         "additionalProperties": {
            "items": {
               "type": "string"
            },
            "type": "array"
         },
         "description": "Mapping of sources to the available portfolio IDs for that source.",
         "title": "Sources",
         "type": "object"
      },
      "schemas": {
         "additionalProperties": {
            "items": {
               "type": "string"
            },
            "type": "array"
         },
         "description": "Set of available portfolio organizer schemas and their associated portfolio IDs.",
         "title": "Schemas",
         "type": "object"
      }
   },
   "additionalProperties": false
}

Config:
  • frozen: bool = True

  • extra: str = forbid

Fields:
  • schemas (dict[str, list[str]])

  • sources (dict[str, list[str]])

field sources: dict[str, list[str]] [Optional]#

Mapping of sources to the available portfolio IDs for that source.

field schemas: dict[str, list[str]] [Optional]#

Set of available portfolio organizer schemas and their associated portfolio IDs.

describe() str#

Describe the available portfolio schemas.

Returns#

str

A description of the available portfolio schemas.