Calcul 20240101-20250514 1194 254.819$ => 4,685
This commit is contained in:
@@ -28,5 +28,5 @@
|
||||
}
|
||||
},
|
||||
"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"
|
||||
}
|
||||
@@ -1153,7 +1153,7 @@ class Zeus_8_3_2_B_4_2(IStrategy):
|
||||
|
||||
# Appel de la fonction
|
||||
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,
|
||||
degree=4,
|
||||
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)
|
||||
future_x = window - 1 + future_step
|
||||
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
|
||||
# print(f" → t+{future_step}: x={future_x}, y={prediction:.2f}")
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user