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

Calculation timed out #164

Open alorbach opened 4 months ago

alorbach commented 4 months ago

Anybody experienced these errors? Testing stucks until timeout hits when this error occurs.

image

VincenzoUrso commented 2 months ago

Your strategy is too complex and it hits the timeout. Try to reduce calculations or plots

alorbach commented 2 months ago

It happens with many strategjes from time to time. I have the feeling it's some kind of rate limiter.

However handling could be improved as the script is waiting for a result until the timeout hits, and it would be sufficient to just change something, wait a second, and change back and try again. This is what I do manually when this happens at it works most of the time.

akumidv commented 2 months ago

You can increase time between calculations in parameter on Options&Tools tab.

alorbach commented 1 month ago

The opposite is what I want to accomplish. I don't know if it just happens for me, but my backtests timeout a lot between backtesting.