OptiPie/tradingview-optimizer-extension

Deep Backtesting

adrianbegi opened this issue · 7 comments

I would like to kindly suggest the ability to run the optimizer with Deep Backtesting feature on TradingView.

I am hoping this is a simple addition. We can check the Deep Backtesting input checkbox to see if aria-checked="true" and if this is true after incrementing the parameters then click the then wait for the results.

var deepBackTester = $('[class^="deepHistoryContainer"] input[type="checkbox"]:first').attr('aria-checked') This will return true if checked
var generateReportButton = $('[class^="generateReportBtn"]') this is the button that needs to be clicked to generate the report.

The main issue is that when clicking the generateReportButton it will close the dialogue for strategy settings.

Hi @adrianbegi,

Thanks for your input for this new feature request but unfortunately I don't have Premium user for TradingView which is required for Deep Backtesting feature.

DeepBacktesting

Currently, it is not possible for me to implement or test this feature.

@AtakanPehlivanoglu Thank you for your response and effort with this extension, completely understood.

hi @adrianbegi ,

I have shared my thoughts and review about your PR, fyi.

Once we resolve uncertain things, we could refactor code and later on arrange a meeting to test the implementation on your side

Closing this stale issue, the reporter closed the PR hence we couldn't test the implementation using TradingView Premium

Hi I have implemented deep backtesting successfully on a local version, I will try to find some time next week to clean up the code and will raise a pr and we can go over it.