Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
batuhan3526 opened this issue Apr 9, 2021 · 3 comments
Closed

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

batuhan3526 opened this issue Apr 9, 2021 · 3 comments

Comments

@batuhan3526
Copy link

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
Copy link

Same issue I pointed out here #6 (comment)

@0AD0
Copy link

0AD0 commented Apr 12, 2021

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

@TreborNamor
Copy link
Owner

TreborNamor commented Apr 12, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants