fix
This commit is contained in:
2
setup.py
2
setup.py
@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='ttools',
|
name='ttools',
|
||||||
version='0.7.95',
|
version='0.7.96',
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
install_requires=[
|
install_requires=[
|
||||||
# list your dependencies here
|
# list your dependencies here
|
||||||
|
|||||||
@ -470,6 +470,7 @@ class ModelConfig:
|
|||||||
forward_bars: int = 5
|
forward_bars: int = 5
|
||||||
target_threshold: float = 1.005 # upper pct threshold for target (1.005 = up by 0.5%)
|
target_threshold: float = 1.005 # upper pct threshold for target (1.005 = up by 0.5%)
|
||||||
target_direction: str = "rise"
|
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_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_bars: int = 2 ## minimum bars to consider a valid movement
|
||||||
target_min_profit_threshold: float = 0.0015 # 0.15% minimum profit threshold to maintain
|
target_min_profit_threshold: float = 0.0015 # 0.15% minimum profit threshold to maintain
|
||||||
|
|||||||
Reference in New Issue
Block a user