parent
43962476aa
commit
48ecc7f6dc
@ -177,6 +177,7 @@ As you begin to modify the strategy and the prediction model, you will quickly r
|
|||||||
factor = 100
|
factor = 100
|
||||||
|
|
||||||
# you can use feature values from dataframe
|
# 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_{self.pair}_"
|
rsi_now = self.raw_features[f"%-rsi-period-10_shift-1_{self.pair}_"
|
||||||
f"{self.config['timeframe']}"].iloc[self._current_tick]
|
f"{self.config['timeframe']}"].iloc[self._current_tick]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user