diff --git a/setup.py b/setup.py index 3083de2..845c2b4 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name='ttools', - version='0.7.95', + version='0.7.96', packages=find_packages(), install_requires=[ # list your dependencies here diff --git a/ttools/models.py b/ttools/models.py index 71b0a9e..8f97ed4 100644 --- a/ttools/models.py +++ b/ttools/models.py @@ -470,6 +470,7 @@ class ModelConfig: forward_bars: int = 5 target_threshold: float = 1.005 # upper pct threshold for target (1.005 = up by 0.5%) target_direction: str = "rise" + target_returns_ewm: int = 10 target_reversal_threshold: float = 0.3 #How much retracement to allow 0.3=30%retracement terminates the window target_min_bars: int = 2 ## minimum bars to consider a valid movement target_min_profit_threshold: float = 0.0015 # 0.15% minimum profit threshold to maintain