From fe02f611fbc82edcde6ac743b243cd189f0075dc Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 4 Apr 2023 06:46:35 +0200 Subject: [PATCH] Fix typo in reinforcement learning closes #8431 --- docs/freqai-reinforcement-learning.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/freqai-reinforcement-learning.md b/docs/freqai-reinforcement-learning.md index f5679a4ba..f298dbf4d 100644 --- a/docs/freqai-reinforcement-learning.md +++ b/docs/freqai-reinforcement-learning.md @@ -180,7 +180,7 @@ As you begin to modify the strategy and the prediction model, you will quickly r # you can use feature values from dataframe # Assumes the shifted RSI indicator has been generated in the strategy. - rsi_now = self.raw_features[f"%-rsi-period-10_shift-1_{pair}_" + rsi_now = self.raw_features[f"%-rsi-period_10_shift-1_{pair}_" f"{self.config['timeframe']}"].iloc[self._current_tick] # reward agent for entering trades