akumidv / tradingview-assistant-chrome-extension

An assistant for backtesting trading strategies and checking (showing) external signals in Tradingview implemented as a Chrome browser extension.
GNU General Public License v3.0
182 stars 70 forks source link

For anyone who had issues related to missing data in Deep backtest #163

Open VincenzoUrso opened 9 months ago

VincenzoUrso commented 9 months ago

background: I keep having issues like this one using deep backtest https://github.com/akumidv/tradingview-assistant-chrome-extension/issues/146

in particular, it doesn't work if I select "sequential improvement"

Fix: increase the value in tv.js line 583 like this

isProcessStart = await page.waitForSelector(SEL.strategyReportInProcess, 15000)//SEL.strategyReportIsTransition, 5000)

it fixes the issue

VincenzoUrso commented 9 months ago

almost...

VincenzoUrso commented 9 months ago

I add here some information the change above seems have helped me, but is not a solution The real problem is that even if deep backtesting shows values, if a NEW value is not calculated when launching the deep backtest, the tester does not read any value and gave error. Possible solutions:

probably solving the issue already reported that the deep backtesting option does not store the best values at the beginning can also fix this problem