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

How to parse the raw_data for all stock symbols simultaneously? #6

Closed
Priyanshu-Mittal opened this issue Jun 14, 2021 · 2 comments
Closed

Comments

@Priyanshu-Mittal
Copy link

From the readme, it seems if we want to generate the output, we need to specify the stock symbol for which we want the output.
What if we want to generate output for all the stock symbols at once?

@martinobdl
Copy link
Owner

Sadly you have to run the program for each symbol. The reason is that messages regarding symbols you are not parsing are disregarded very quickly, and thus parsing two different symbols by calling will take approximately the same time of parsing the two symbols together. Moreover by allowing to parse multiple symbols at the same time we might incur in memory issues, since we have no control on the memory size of the data structures that will be generated by the program.

@Priyanshu-Mittal
Copy link
Author

Okay, thanks

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

2 participants