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

ValueError: max() arg is an empty sequence #7

Closed batuhan3526 closed 3 years ago

batuhan3526 commented 3 years ago

Loading script... script has timed out. Traceback (most recent call last): File "C:\Users\MONSTER\OneDrive\Desktop\strateji\ML ile stop ve take profıt opt\scripts\stoploss_linear.py", line 77, in run_script(webdriver.driver) File "C:\Users\MONSTER\OneDrive\Desktop\strateji\ML ile stop ve take profıt opt\scripts\stoploss_linear.py", line 42, in run_script best_key = find.best_key() File "C:\Users\MONSTER\OneDrive\Desktop\strateji\ML ile stop ve take profıt opt\scripts\find.py", line 5, in best_key best_in_dict = max(profits, key=profits.get) ValueError: max() arg is an empty sequence

bertinlr commented 3 years ago

Same issue I pointed out here https://github.com/TreborNamor/TradingView_Machine_Learning/issues/6#issuecomment-814284820

0AD0 commented 3 years ago

I also get the same issue, even with the latest and greatest :(

TreborNamor commented 3 years ago

Sorry for the inconvenience. Tradingview has been updating their website lately. I just updated the click.py file a few minutes ago. Was this the one you tried?

On Mon, Apr 12, 2021 at 3:33 AM 0AD0 @.***> wrote:

I also get the same issue, even with the latest and greatest :(

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/TreborNamor/TradingView_Machine_Learning/issues/7#issuecomment-817607383, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOHWMRO5ND6NI65SFGI4PG3TIKV7HANCNFSM42VEMGNQ .