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
158 stars 56 forks source link

Abnormal calculation on the deep backtesting #137

Closed Bryan3003 closed 10 months ago

Bryan3003 commented 1 year ago

image

i found this abnormal behavior when trying to run with Brute force on deep testing, it seems to skip one single step and duplicate the previous result. The picture above might help on describing it.

However when running brute force without deeptesting it is fine. image

Hope the bug can be fixed, thanks in advance.

Bryan3003 commented 1 year ago

Deep backtesting with annealing method have the same issue as well

VincenzoUrso commented 1 year ago

deep backtesting covers also a bigger time period, are the number of trades the same in your comparison?

Bryan3003 commented 1 year ago

yes, it is quite obvious as well when it is running deep backtesting (it skipped one step and directly shows the same result from previous step, then keep loading). I might also be quite curious, am i the one who only got this issue?

VincenzoUrso commented 1 year ago

I mean, are you sure there is an issue? is the number of trades for those paramenters the same in normal and deep backtesting?

Bryan3003 commented 1 year ago

yes, i tested couple of times. As i mention above, normal backtest no problem, only it occurs in DEEP backtesting. Besides, may i know if you often use deep backtesting ?

VincenzoUrso commented 1 year ago

I always use it. Have you tried to compare the results by manually changes the values? just to understand if the problem is deep backtesting or the plugin

Bryan3003 commented 1 year ago

I always use it. Have you tried to compare the results by manually changes the values? just to understand if the problem is deep backtesting or the plugin

Certainly, it provides different value when changed manually. Have u take a look into the result excel, does it any shown duplicate?

SHaaT3k commented 1 year ago

Hi, i saw same problem. In .csv is tons of doubled results and whan i put setting to TV its different. the first with a good result, the second with not so good or bad results

akumidv commented 1 year ago

Can you try to increase time between test in options? Also in new 2.8.1 version the extension check is button for "Generation report" is clicable (or disabled). Probably in version before - it just not set clickable after changing in parameters - and click for new test just missed and parser grab the previous result. So please check in new 2.8.1 version that I sent to Google Web-Store today