Calcul 20240101-20250514 1194 254.819$ => 4,685

This commit is contained in:
Jérôme Delacotte
2025-05-24 21:35:25 +02:00
parent 102ebe96cd
commit e07fdb38da
3 changed files with 1803 additions and 603 deletions

View File

@@ -28,5 +28,5 @@
} }
}, },
"ft_stratparam_v": 1, "ft_stratparam_v": 1,
"export_time": "2025-05-24 17:41:13.302873+00:00" "export_time": "2025-05-24 18:29:22.477903+00:00"
} }

View File

@@ -1153,7 +1153,7 @@ class Zeus_8_3_2_B_4_2(IStrategy):
# Appel de la fonction # Appel de la fonction
poly_func, x_future, y_future, count = self.polynomial_forecast( poly_func, x_future, y_future, count = self.polynomial_forecast(
dataframe['sma24_1h'], dataframe['mid_smooth_12'],
window=self.buy_horizon_predict_1h.value * 12, window=self.buy_horizon_predict_1h.value * 12,
degree=4, degree=4,
n_future=3) n_future=3)
@@ -1719,7 +1719,7 @@ class Zeus_8_3_2_B_4_2(IStrategy):
for future_step in [12, 24, 36]: #range(1, n_future + 1) for future_step in [12, 24, 36]: #range(1, n_future + 1)
future_x = window - 1 + future_step future_x = window - 1 + future_step
prediction = poly(future_x) prediction = poly(future_x)
# result.loc[series.index[i], f'poly_pred_t+{future_step}'] = prediction # series.loc[series.index[future_x], f'poly_pred_t+{future_step}'] = prediction
# Afficher les prédictions # Afficher les prédictions
# print(f" → t+{future_step}: x={future_x}, y={prediction:.2f}") # print(f" → t+{future_step}: x={future_x}, y={prediction:.2f}")

File diff suppressed because it is too large Load Diff