TreborNamor / TradingView-Machine-Learning-GUI

Embark on a trading journey with this project's cutting-edge stop loss/take profit generator, fine-tuning your TradingView strategy to perfection. Harness the power of sklearn's machine learning algorithms to unlock unparalleled strategy optimization and unleash your trading potential.
https://www.robertsportfolio.dev/
MIT License
756 stars 227 forks source link

Index List Out of Range #29

Closed SWCBTCKid closed 2 years ago

SWCBTCKid commented 3 years ago

====== WebDriver manager ====== Current firefox version is 92.0.1 Get LATEST driver version for 92.0.1 Driver [C:\Users\User.wdm\drivers\geckodriver\win64\v0.30.0\geckodriver.exe] found in cache Generating Max Profit For Stop Loss. Loading script...

Traceback (most recent call last): File "TradeViewGUI.py", line 122, in optimize_longs_shorts name = obj.objectName() File "OptimizeLongsShorts.py", line 17, in init self.run_script() File "OptimizeLongsShorts.py", line 39, in run_script self.click_enable_both_checkboxes() File "my_functions.py", line 238, in click_enable_both_checkboxes long_checkbox = self.driver.find_elements_by_xpath("//*[@class='input-24iGIobO']")[0] IndexError: list index out of range

looks like i have an issue in the segment of code suppose to read the checkboxes...

0AD0 commented 3 years ago

What fixed for me was an updated of packages

0AD0 commented 3 years ago

But then it still bugs, and i get the same error

SWCBTCKid commented 3 years ago

No

On Sun., Oct. 17, 2021, 11:57 p.m. 0AD0, @.***> wrote:

I have the exact same issue, were you able to fix this since?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TreborNamor/TradingView-Machine-Learning-GUI/issues/29#issuecomment-945340185, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKDWAFZMKIAV22HFATBFMNLUHOLJFANCNFSM5FE2KVRQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.