Frictrade

This commit is contained in:
Jérôme Delacotte
2025-12-05 23:27:40 +01:00
parent 3efc95e415
commit ae98d11559
26 changed files with 15887 additions and 38 deletions

View File

@@ -14,7 +14,10 @@ import pandas as pd # noqa
from pandas import DataFrame
from skopt.space import Categorical, Dimension, Integer, Real # noqa
from freqtrade.optimize.hyperopt_interface import IHyperOpt
from freqtrade.strategy import (BooleanParameter, CategoricalParameter, DecimalParameter, stoploss_from_open,
IntParameter, IStrategy, merge_informative_pair, informative, stoploss_from_absolute)
# from freqtrade.optimize.hyperopt_interface import IHyperOpt
# --------------------------------
# Add your lib to import here
@@ -52,7 +55,7 @@ GodGenes = ["open", "high", "low", "close", "volume", "volume_adi", "volume_obv"
"others_dr", "others_dlr", "others_cr"]
class GodStraHo(IHyperOpt):
class GodStraHo(IStrategy):
@staticmethod
def indicator_space() -> List[Dimension]: