Discussion myshortingstrategiembe2 — discussion
📈 myshortingstrategiembe2
— remiotore/ccxt-freqtrade/strategies/myshortingstrategiembe2.py · open the strategy page →
🏆
League #1203 / 1936
🧑💻
Gojel
OP
1
this strategy lookahead bias, i have testing in local
🐋
Ron
Mod
0
Hi Gojel, which command did you run to check this, I'm curious since the std freqtrade analysis and the code checks seem to miss that, and I want to improve it. It would not suprice me since the performance is to good to be true.
🐋
Ron
Mod
0
Also, which lines is it in, do you know? Then I can update and improve detection.
🐋
Ron
Mod
0
Just checked on PC, yes it has this, which is bad:
And it also has dead/old code ['sell'] and ['buy'] is old. (edited)
# Heikin Ashi candles
heikinashi = qtpylib.heikinashi(dataframe)
dataframe['open'] = heikinashi['open']
dataframe['high'] = heikinashi['high']
dataframe['low'] = heikinashi['low']
Will add a check for it.And it also has dead/old code ['sell'] and ['buy'] is old. (edited)
🧑💻
Gojel
OP
0
Yes, you're right. code directly changes the default open, high, and low columns to Heikin Ashi prices, which will disrupt the calculations of other Freqtrade indicators and disrupt the execution of simulated prices during backtesting.
This makes the backtest results appear unrealistically profitable.
This makes the backtest results appear unrealistically profitable.