> ## Documentation Index
> Fetch the complete documentation index at: https://systematica.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Config

> systematica.portfolio.schedulers.config

## `WorkflowConfig`

```python theme={null}
WorkflowConfig(
    **data: Any,
)
```

Main strategy configuration.

Create a new model by parsing and validating input data from keyword arguments.

Raises \[`ValidationError`]\[pydantic\_core.ValidationError] if the input data cannot be
validated to form a valid model.

`self` is explicitly positional-only to allow `self` as a field name.

### Ancestors

* `pydantic.main.BaseModel`

### Class variables

* `meta: systematica.portfolio.schedulers.config.Meta`: Metadata configuration.

* `loader: systematica.portfolio.schedulers.config.Loader`: Loader specific configuration.

* `loader_params: Dict[str, Any]`: Loader parameters.

* `model: systematica.portfolio.schedulers.config.Model`: Model specific configuration.

* `model_params: Dict[str, Any]`: Model parameters.

* `signal: systematica.portfolio.schedulers.config.Signal`: Signal specific configuration.

* `portfolio: Dict[str, Any]`: Portfolio specific configuration.

* `model_config`: The type of the None singleton.

### Static methods

#### `from_template`

```python theme={null}
from_template(
    path: pathlib._local.Path,
    template: str,
) ‑> systematica.portfolio.schedulers.config.WorkflowConfig
```

Get configuration from TOML file name.

**Parameters**:

| Name       | Type   | Default | Description                                                                                      |
| ---------- | ------ | ------- | ------------------------------------------------------------------------------------------------ |
| `path`     | `Path` | `--`    | Path to the templates.                                                                           |
| `template` | `str`  | `--`    | The name of the strategy. It will load a `toml` file located in `systematica/workflow/templates` |

**Returns**:

| Type     | Description              |
| -------- | ------------------------ |
| `Config` | Valided Config instance. |

#### `from_all_templates`

```python theme={null}
from_all_templates(
    path: pathlib._local.Path,
) ‑> Dict[str, systematica.portfolio.schedulers.config.WorkflowConfig]
```

Get configuration from TOML file name. Ignore `test` template.

**Parameters**:

| Name   | Type   | Default | Description            |
| ------ | ------ | ------- | ---------------------- |
| `path` | `Path` | `--`    | Path to the templates. |

**Returns**:

| Type     | Description                |
| -------- | -------------------------- |
| `Config` | Validated Config instance. |

### Instance variables

* `params: Dict[str, Any]`: All parameters needed to run scheduler.
