OptiPie / tradingview-optimizer-extension

OptiPie is an open source strategy optimizer automation tool for TradingView written in js.
https://optipie.app
GNU General Public License v3.0
32 stars 17 forks source link

Deep Backtesting #6

Closed adrianbegi closed 1 year ago

adrianbegi commented 1 year ago

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

adrianbegi commented 1 year ago

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

adrianbegi commented 1 year ago

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.

AtakanPehlivanoglu commented 1 year ago

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.

adrianbegi commented 1 year ago

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

AtakanPehlivanoglu commented 1 year ago

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

AtakanPehlivanoglu commented 1 year ago

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

adrianbegi commented 1 year ago

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.