diff options
| author | Павел Жуков <33721692+LeaveMyYard@users.noreply.github.com> | 2023-05-22 18:01:12 +0300 |
|---|---|---|
| committer | Павел Жуков <33721692+LeaveMyYard@users.noreply.github.com> | 2023-05-22 18:01:12 +0300 |
| commit | 98d138db2e0b6ffd5b114ec655f464a05fe2a2bb (patch) | |
| tree | 64fa5dff79a27de2af11a35a4cd45017df7097e3 /robusta_krr | |
| parent | 2655dfaea93ac228ef09ead93f72cc328a33c775 (diff) | |
[MAIN-169] Set default timeframe to 2m
Diffstat (limited to 'robusta_krr')
| -rw-r--r-- | robusta_krr/core/abstract/strategies.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/robusta_krr/core/abstract/strategies.py b/robusta_krr/core/abstract/strategies.py index 5882493..9c4f133 100644 --- a/robusta_krr/core/abstract/strategies.py +++ b/robusta_krr/core/abstract/strategies.py @@ -29,7 +29,7 @@ class StrategySettings(pd.BaseModel): history_duration: float = pd.Field( 24 * 7 * 2, ge=1, description="The duration of the history data to use (in hours)." ) - timeframe_duration: float = pd.Field(15, ge=1, description="The step for the history data (in minutes).") + timeframe_duration: float = pd.Field(2, ge=1, description="The step for the history data (in minutes).") @property def history_timedelta(self) -> datetime.timedelta: |
