match config and strats to upstream freqai
This commit is contained in:
parent
e5df39e891
commit
69d542d3e2
@ -55,6 +55,7 @@
|
||||
}
|
||||
],
|
||||
"freqai": {
|
||||
"enabled": true,
|
||||
"model_save_type": "stable_baselines_ppo",
|
||||
"conv_width": 10,
|
||||
"follow_mode": false,
|
||||
|
@ -62,7 +62,7 @@ class ReinforcementLearningExample3ac(IStrategy):
|
||||
|
||||
coin = pair.split('/')[0]
|
||||
|
||||
with self.freqai.lock:
|
||||
|
||||
if informative is None:
|
||||
informative = self.dp.get_pair_dataframe(pair, tf)
|
||||
|
||||
@ -111,8 +111,6 @@ class ReinforcementLearningExample3ac(IStrategy):
|
||||
|
||||
def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
|
||||
|
||||
self.freqai_info = self.config["freqai"]
|
||||
|
||||
dataframe = self.freqai.start(dataframe, metadata, self)
|
||||
|
||||
return dataframe
|
||||
|
@ -62,7 +62,7 @@ class ReinforcementLearningExample5ac(IStrategy):
|
||||
|
||||
coin = pair.split('/')[0]
|
||||
|
||||
with self.freqai.lock:
|
||||
|
||||
if informative is None:
|
||||
informative = self.dp.get_pair_dataframe(pair, tf)
|
||||
|
||||
@ -111,8 +111,6 @@ class ReinforcementLearningExample5ac(IStrategy):
|
||||
|
||||
def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
|
||||
|
||||
self.freqai_info = self.config["freqai"]
|
||||
|
||||
dataframe = self.freqai.start(dataframe, metadata, self)
|
||||
|
||||
return dataframe
|
||||
|
Loading…
Reference in New Issue
Block a user