bayesline.api.equity.RiskDatasetLoaderApi.create_dataset#
- abstract RiskDatasetLoaderApi.create_dataset(name: str, settings: RiskDatasetSettings) RiskDatasetApi #
Creates a new dataset with the given name and settings.
Parameters#
- namestr
The name of the dataset to create.
- settingsRiskDatasetSettings
The settings for the dataset to create.
Raises#
- DatasetError
if a dataset with the given name already exists or if the settings are otherwise invalid
Returns#
- RiskDatasetApi
the API of the newly created dataset