From 98d138db2e0b6ffd5b114ec655f464a05fe2a2bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=B0=D0=B2=D0=B5=D0=BB=20=D0=96=D1=83=D0=BA=D0=BE?= =?UTF-8?q?=D0=B2?= <33721692+LeaveMyYard@users.noreply.github.com> Date: Mon, 22 May 2023 18:01:12 +0300 Subject: [MAIN-169] Set default timeframe to 2m --- robusta_krr/core/abstract/strategies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3