From 461069dbf7096e6956375e60f4e28e1a4d4800e0 Mon Sep 17 00:00:00 2001 From: iterativ Date: Tue, 5 Mar 2024 19:38:49 +0200 Subject: [PATCH] X4: grinding: add extra alt grinding stakes. --- NostalgiaForInfinityX4.py | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/NostalgiaForInfinityX4.py b/NostalgiaForInfinityX4.py index 860e4ec67d..772974571c 100644 --- a/NostalgiaForInfinityX4.py +++ b/NostalgiaForInfinityX4.py @@ -68,7 +68,7 @@ class NostalgiaForInfinityX4(IStrategy): INTERFACE_VERSION = 3 def version(self) -> str: - return "v14.1.294" + return "v14.1.295" stoploss = -0.99 @@ -164,7 +164,7 @@ def version(self) -> str: grind_derisk_spot = -0.40 grind_derisk_futures = -0.50 - grind_1_stop_grinds_spot = -0.16 + grind_1_stop_grinds_spot = -0.10 grind_1_profit_threshold_spot = 0.018 grind_1_stakes_spot = [ [0.20, 0.20, 0.20, 0.20, 0.20], @@ -212,11 +212,13 @@ def version(self) -> str: [0.10, 0.15, 0.20, 0.25, 0.30], [0.15, 0.20, 0.25, 0.30, 0.35], [0.20, 0.25, 0.30, 0.35, 0.40], + [0.30, 0.35, 0.40, 0.45, 0.50], ] grind_2_sub_thresholds_spot = [ [-0.08, -0.10, -0.12, -0.14, -0.16], [-0.08, -0.10, -0.12, -0.14, -0.16], [-0.08, -0.10, -0.12, -0.14, -0.16], + [-0.08, -0.10, -0.12, -0.14, -0.16], ] grind_2_stop_grinds_futures = -0.30 @@ -225,11 +227,13 @@ def version(self) -> str: [0.10, 0.15, 0.20, 0.25, 0.30], [0.15, 0.20, 0.25, 0.30, 0.35], [0.20, 0.25, 0.30, 0.35, 0.40], + [0.30, 0.35, 0.40, 0.45, 0.50], ] grind_2_sub_thresholds_futures = [ [-0.08, -0.10, -0.12, -0.14, -0.16], [-0.08, -0.10, -0.12, -0.14, -0.16], [-0.08, -0.10, -0.12, -0.14, -0.16], + [-0.08, -0.10, -0.12, -0.14, -0.16], ] grind_3_stop_grinds_spot = -0.10 @@ -238,11 +242,13 @@ def version(self) -> str: [0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10], [0.15, 0.15, 0.15, 0.15, 0.15, 0.15, 0.15, 0.15, 0.15, 0.15], [0.20, 0.20, 0.20, 0.20, 0.20, 0.20, 0.20, 0.20, 0.20, 0.20], + [0.30, 0.30, 0.30, 0.30, 0.30, 0.30, 0.30, 0.30, 0.30, 0.30], ] grind_3_sub_thresholds_spot = [ [-0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08], [-0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08], [-0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08], + [-0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08], ] grind_3_stop_grinds_futures = -0.30 @@ -251,11 +257,13 @@ def version(self) -> str: [0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10], [0.15, 0.15, 0.15, 0.15, 0.15, 0.15, 0.15, 0.15, 0.15, 0.15], [0.20, 0.20, 0.20, 0.20, 0.20, 0.20, 0.20, 0.20, 0.20, 0.20], + [0.30, 0.30, 0.30, 0.30, 0.30, 0.30, 0.30, 0.30, 0.30, 0.30], ] grind_3_sub_thresholds_futures = [ [-0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08], [-0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08], [-0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08], + [-0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08, -0.08], ] # Non rebuy modes @@ -295,22 +303,26 @@ def version(self) -> str: [0.15, 0.20, 0.25, 0.30, 0.35], [0.20, 0.25, 0.30, 0.35, 0.40], [0.30, 0.35, 0.40, 0.45, 0.50], + [0.40, 0.45, 0.50, 0.55, 0.60], ] regular_mode_grind_2_thresholds_spot = [ [-0.04, -0.08, -0.10, -0.12, -0.14, -0.16], [-0.04, -0.08, -0.10, -0.12, -0.14, -0.16], [-0.04, -0.08, -0.10, -0.12, -0.14, -0.16], + [-0.04, -0.08, -0.10, -0.12, -0.14, -0.16], ] regular_mode_grind_2_profit_threshold_spot = 0.018 regular_mode_grind_3_stakes_spot = [ [0.20, 0.20, 0.20, 0.20, 0.20, 0.20], [0.30, 0.30, 0.30, 0.30, 0.30, 0.30], [0.40, 0.40, 0.40, 0.40, 0.40, 0.40], + [0.50, 0.50, 0.50, 0.50, 0.50, 0.50], ] regular_mode_grind_3_thresholds_spot = [ [-0.03, -0.06, -0.08, -0.10, -0.12, -0.14], [-0.03, -0.08, -0.10, -0.12, -0.14, -0.16], [-0.03, -0.08, -0.10, -0.12, -0.14, -0.16], + [-0.03, -0.08, -0.10, -0.12, -0.14, -0.16], ] regular_mode_grind_3_profit_threshold_spot = 0.018 regular_mode_derisk_spot = -0.80 @@ -348,22 +360,26 @@ def version(self) -> str: [0.15, 0.20, 0.25, 0.30, 0.35], [0.20, 0.25, 0.30, 0.35, 0.40], [0.30, 0.35, 0.40, 0.45, 0.50], + [0.40, 0.45, 0.50, 0.55, 0.60], ] regular_mode_grind_2_thresholds_futures = [ [-0.04, -0.08, -0.10, -0.12, -0.14, -0.16], [-0.04, -0.08, -0.10, -0.12, -0.14, -0.16], [-0.04, -0.08, -0.10, -0.12, -0.14, -0.16], + [-0.04, -0.08, -0.10, -0.12, -0.14, -0.16], ] regular_mode_grind_2_profit_threshold_futures = 0.018 regular_mode_grind_3_stakes_futures = [ [0.20, 0.20, 0.20, 0.20, 0.20, 0.20], [0.30, 0.30, 0.30, 0.30, 0.30, 0.30], [0.40, 0.40, 0.40, 0.40, 0.40, 0.40], + [0.50, 0.50, 0.50, 0.50, 0.50, 0.50], ] regular_mode_grind_3_thresholds_futures = [ [-0.03, -0.06, -0.08, -0.10, -0.12, -0.14], [-0.03, -0.08, -0.10, -0.12, -0.14, -0.16], [-0.03, -0.08, -0.10, -0.12, -0.14, -0.16], + [-0.03, -0.08, -0.10, -0.12, -0.14, -0.16], ] regular_mode_grind_3_profit_threshold_futures = 0.018 regular_mode_derisk_futures = -2.40