Skip to content

Commit b279c51

Browse files
committed
Raise min range
1 parent 4f00cb8 commit b279c51

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

examples/tune_all.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
# Optimize indicators
1818
tt.fit(X_train, y_train,
1919
indicators=['all'],
20-
ranges=[(2, 30)],
21-
trials=500,
22-
early_stop=100,
20+
ranges=[(4, 30)],
21+
trials=100,
22+
early_stop=10,
2323
)
2424

2525
# Show time duration in seconds per indicator

examples/tune_market.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
# Optimize indicators
3636
tt.fit(X_train, y_train,
3737
indicators=['tta.RSI', 'tta.MACD', 'tta.SMA', 'tta.CMO'],
38-
ranges=[(2, 30), (31, 60)],
38+
ranges=[(4, 30), (31, 60)],
3939
trials=300,
4040
early_stop=50,
4141
)

examples/tune_multiple.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
# Optimize indicators
1818
tt.fit(X_train, y_train,
1919
indicators=['pta.slope', 'pta.stoch', 'tta.MACD', 'tta.MOM', 'fta.SMA'],
20-
ranges=[(2, 60)],
21-
trials=500,
22-
early_stop=100,
20+
ranges=[(4, 60)],
21+
trials=300,
22+
early_stop=50,
2323
)
2424

2525
# Show time duration in seconds per indicator

examples/tune_rsi.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
# Optimize indicators
1818
tt.fit(X_train, y_train,
1919
indicators=['tta.RSI'],
20-
ranges=[(2, 30), (31, 180)],
21-
trials=500,
22-
early_stop=100,
20+
ranges=[(4, 30), (31, 180)],
21+
trials=300,
22+
early_stop=50,
2323
)
2424

2525
# Show correlation of indicators

0 commit comments

Comments
 (0)