Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/stratocaster/base/strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ def _from_dict(cls, dct: dict):
def _default_settings(cls) -> StrategySettings:
raise NotImplementedError

@classmethod
def default_settings(cls) -> StrategySettings:
"""Get the default settings for this ``Strategy``.

These represent the current recommendations for the use of this
particular ``Strategy``. These can be modified and passed in as the
only argument for creating a new ``Strategy`` instance.
"""
return cls._default_settings()

@abc.abstractmethod
def _propose(
self,
Expand Down