mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
small PR conversation resolutions
This commit is contained in:
parent
40f00196eb
commit
5559e605b8
|
@ -511,7 +511,7 @@ class IFreqaiModel(ABC):
|
|||
"""
|
||||
|
||||
@abstractmethod
|
||||
def fit(self) -> Any:
|
||||
def fit(self, data_dictionary: Dict[str, Any]) -> Any:
|
||||
"""
|
||||
Most regressors use the same function names and arguments e.g. user
|
||||
can drop in LGBMRegressor in place of CatBoostRegressor and all data
|
||||
|
|
|
@ -44,7 +44,7 @@ class FreqaiModelResolver(IResolver):
|
|||
)
|
||||
if freqaimodel_name in disallowed_models:
|
||||
raise OperationalException(
|
||||
f"{freqaimodel_name} is a baseclass and cannot be used directly. User must choose "
|
||||
f"{freqaimodel_name} is a baseclass and cannot be used directly. Please choose "
|
||||
"an existing child class or inherit from this baseclass.\n"
|
||||
)
|
||||
freqaimodel = FreqaiModelResolver.load_object(
|
||||
|
|
|
@ -555,7 +555,8 @@ class IStrategy(ABC, HyperStrategyMixin):
|
|||
Function designed to automatically generate, name and merge features
|
||||
from user indicated timeframes in the configuration file. User can add
|
||||
additional features here, but must follow the naming convention.
|
||||
Defined in IStrategy because Freqai needs to know it exists.
|
||||
This method is *only* used in FreqaiDataKitchen class and therefore
|
||||
it is only called if FreqAI is active.
|
||||
:params:
|
||||
:pair: pair to be used as informative
|
||||
:df: strategy dataframe which will receive merges from informatives
|
||||
|
|
Loading…
Reference in New Issue
Block a user