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

[Bug] Cannot choose from an empty sequence #3

Open
sshcli opened this issue Apr 14, 2022 · 0 comments
Open

[Bug] Cannot choose from an empty sequence #3

sshcli opened this issue Apr 14, 2022 · 0 comments

Comments

@sshcli
Copy link

sshcli commented Apr 14, 2022

randtick = random.choice( list( set(nsdq) - set(p_sym) ) )

Message=Cannot choose from an empty sequence
Source=\alpaca_snippets\HFT-ish_2.py
StackTrace:
File "\alpaca_snippets\HFT-ish_2.py", line 210, in (Current frame)
randtick = random.choice( list( set(nsdq) - set(p_sym) ) )

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

1 participant