Zeus_8_3_2_B_4_2 NEW VERSION
@@ -22,7 +22,6 @@ import joblib
|
|||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
import mpmath as mp
|
import mpmath as mp
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import optuna
|
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
import seaborn as sns
|
import seaborn as sns
|
||||||
import shap
|
import shap
|
||||||
@@ -31,6 +30,7 @@ import ta
|
|||||||
import talib.abstract as talib
|
import talib.abstract as talib
|
||||||
from freqtrade.persistence import Trade
|
from freqtrade.persistence import Trade
|
||||||
from freqtrade.strategy import (CategoricalParameter, DecimalParameter, IntParameter, IStrategy, merge_informative_pair)
|
from freqtrade.strategy import (CategoricalParameter, DecimalParameter, IntParameter, IStrategy, merge_informative_pair)
|
||||||
|
import optuna
|
||||||
from optuna.visualization import plot_optimization_history
|
from optuna.visualization import plot_optimization_history
|
||||||
from optuna.visualization import plot_parallel_coordinate
|
from optuna.visualization import plot_parallel_coordinate
|
||||||
from optuna.visualization import plot_param_importances
|
from optuna.visualization import plot_param_importances
|
||||||
@@ -988,7 +988,7 @@ class FrictradeLearning(IStrategy):
|
|||||||
count = 0
|
count = 0
|
||||||
pct = 0
|
pct = 0
|
||||||
dataframe = dataframe.copy()
|
dataframe = dataframe.copy()
|
||||||
total_stake = 0
|
total_stake = 1
|
||||||
loss_amount = 0
|
loss_amount = 0
|
||||||
dca_previous = 0
|
dca_previous = 0
|
||||||
for dca in self.pairs[pair]['dca_thresholds']:
|
for dca in self.pairs[pair]['dca_thresholds']:
|
||||||
|
|||||||
@@ -7,40 +7,30 @@
|
|||||||
"stoploss": {
|
"stoploss": {
|
||||||
"stoploss": -1.0
|
"stoploss": -1.0
|
||||||
},
|
},
|
||||||
"max_open_trades": {
|
|
||||||
"max_open_trades": 80
|
|
||||||
},
|
|
||||||
"buy": {
|
|
||||||
"mises": 5,
|
|
||||||
"deriv_5m_slope_sup_buy": 0.14,
|
|
||||||
"indic_5m_slope_inf_buy": "sma12",
|
|
||||||
"indic_5m_slope_sup_buy": "sma12",
|
|
||||||
"indic_deriv_5m_slop_sup_buy": "sma5",
|
|
||||||
"mise_factor_buy": 0.01,
|
|
||||||
"pct": 0.029,
|
|
||||||
"pct_inc": 0.0027
|
|
||||||
},
|
|
||||||
"sell": {
|
|
||||||
"deriv_5m_slope_inf_sell": 0.45,
|
|
||||||
"deriv_5m_slope_sup_sell": -0.07,
|
|
||||||
"indic_5m_slope_inf_sell": "sma60",
|
|
||||||
"indic_5m_slope_sup_sell": "sma12",
|
|
||||||
"indic_deriv_5m_slope_inf_sell": "sma5",
|
|
||||||
"indic_deriv_5m_slope_sup_sell": "sma24"
|
|
||||||
},
|
|
||||||
"protection": {
|
|
||||||
"deriv1_buy_protect": 0.06,
|
|
||||||
"indic_1h_slope_sup": "sma5",
|
|
||||||
"indic_5m_slope_sup": "sma24",
|
|
||||||
"rsi_buy_protect": 53
|
|
||||||
},
|
|
||||||
"trailing": {
|
"trailing": {
|
||||||
"trailing_stop": true,
|
"trailing_stop": true,
|
||||||
"trailing_stop_positive": 0.148,
|
"trailing_stop_positive": 0.148,
|
||||||
"trailing_stop_positive_offset": 0.218,
|
"trailing_stop_positive_offset": 0.218,
|
||||||
"trailing_only_offset_is_reached": false
|
"trailing_only_offset_is_reached": false
|
||||||
|
},
|
||||||
|
"max_open_trades": {
|
||||||
|
"max_open_trades": 20
|
||||||
|
},
|
||||||
|
"buy": {
|
||||||
|
"mise_factor_buy": 0.01,
|
||||||
|
"pct": 0.029,
|
||||||
|
"pct_inc": 0.0027,
|
||||||
|
"bm1": 800,
|
||||||
|
"bm2": 200,
|
||||||
|
"bm3": 0,
|
||||||
|
"bm4": 800,
|
||||||
|
"bp0": 0,
|
||||||
|
"bp1": 0,
|
||||||
|
"bp2": 800,
|
||||||
|
"bp3": 0,
|
||||||
|
"bp4": 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ft_stratparam_v": 1,
|
"ft_stratparam_v": 1,
|
||||||
"export_time": "2025-11-06 13:54:42.462181+00:00"
|
"export_time": "2026-02-15 14:23:04.601092+00:00"
|
||||||
}
|
}
|
||||||
1377
Zeus_8_3_2_B_4_2.py
BIN
plots/Zeus_8_3_2_B_4_2/BTC/BTC_rf_model.pkl
Normal file
BIN
plots/Zeus_8_3_2_B_4_2/BTC/Courbe ROC.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
plots/Zeus_8_3_2_B_4_2/BTC/Feature importances.png
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
plots/Zeus_8_3_2_B_4_2/BTC/Importance des features.png
Normal file
|
After Width: | Height: | Size: 76 KiB |
BIN
plots/Zeus_8_3_2_B_4_2/BTC/Matrice de confusion.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 1.2 MiB |
BIN
plots/Zeus_8_3_2_B_4_2/BTC/PartialDependenceDisplay.png
Normal file
|
After Width: | Height: | Size: 216 KiB |
BIN
plots/Zeus_8_3_2_B_4_2/BTC/Permutation feature importance.png
Normal file
|
After Width: | Height: | Size: 54 KiB |
3888
plots/Zeus_8_3_2_B_4_2/BTC/optimization_history.html
Normal file
3888
plots/Zeus_8_3_2_B_4_2/BTC/parallel_coordinates.html
Normal file
3888
plots/Zeus_8_3_2_B_4_2/BTC/param_importances.html
Normal file
BIN
plots/Zeus_8_3_2_B_4_2/BTC/seuil_de_probabilite.png
Normal file
|
After Width: | Height: | Size: 60 KiB |
18
plots/Zeus_8_3_2_B_4_2/BTC/shap_force_plot.html
Normal file
BIN
plots/Zeus_8_3_2_B_4_2/BTC/shap_waterfall.png
Normal file
|
After Width: | Height: | Size: 141 KiB |
3888
plots/Zeus_8_3_2_B_4_2/BTC/slice.html
Normal file
BIN
plots/Zeus_8_3_2_B_4_2/BTC/threshold_analysis.png
Normal file
|
After Width: | Height: | Size: 59 KiB |