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

Deep backtesting doesnt wait for result #143

Closed SHaaT3k closed 1 year ago

SHaaT3k commented 1 year ago

Hi, I have a problem with deep backtesting, every time it starts, only the first setting is calculated and the next one is skipped - it does not wait for the result from the TV, any ideas?

VincenzoUrso commented 1 year ago

If you check the csv results, you can see that all the values are calculated

SHaaT3k commented 1 year ago

I tested only 100 combinations ... in Attention! popup is "The search is performed among 0 possible combinations of parameters" , but cycles is , for example : 100/20000 , in cvs are calculated value , but not result from TV

g001613001 commented 1 year ago

我只測試了 100 種組合......注意!彈出窗口是“在 0 個可能的參數組合中執行搜索”,但周期是,例如:100/20000,在 cvs 中是計算值,但不是來自 TV 的結果

I have found the same bug as you, and I have also posted another thread, hoping to fix this bug.

VincenzoUrso commented 1 year ago

try changing "The maximum waiting time for data of the strategy, if the results table has not been updated (2 times more if used for deep backtesting)."

SHaaT3k commented 1 year ago

try changing "The maximum waiting time for data of the strategy, if the results table has not been updated (2 times more if used for deep backtesting)."

It works, thank you. I finaly set Delay to 1.25 and maximum waiting to 60 and it seems to be good like before

g001613001 commented 1 year ago

嘗試更改“如果結果表尚未更新,則策略數據的最大等待時間(如果用於深度回測則為 2 倍)”。

它有效,謝謝。 我最終將延遲設置為 1.25,最大等待時間設置為 60,看起來和以前一樣不錯

This setting did not work for me. I have set other different higher seconds, but the problem still exists.

SHaaT3k commented 1 year ago

So, it stop working for me. I guess its problem with selector of deep backtesting switcher, because it didnt switch to normal and back again for refreshing strategy test button.

VincenzoUrso commented 1 year ago

try this CTRL + SHIFT +I on your browser, open inspector tool right click on the reload page button on top-->empty cache and reload

akumidv commented 1 year ago

The default value of waiting for strategy results is increased to 45 second (for deep backtesting this period increased x2). But for some strategies this period can be not enough, so before run backtest - measure duration of your strategy calculation and then set this value in options

image