I'm planning on building an auto trading algorithm, but I'm currently not sure what the best way is to have arrays of a size of roughly 50 continually updating of chart data from specific stocks. That is not the problem, I want to easily be able to put commands in the console like "add GOOG", "add BABA", and "remove FB"?
What I want to happen:
"add BABA" - adds an array of size 50 to the program, with the name of BABA.
"remove GOOG" - removes the array GOOG
Problem 2:
Without having 10-20 loops going is their a way to update 10 or more arrays every second at the same time, without using a loop, and still have the functionality of arrays being able to be added and removed?
Ask any questions you may need to be able to answer these questions.
Note: Not on a PC right now, but on a tablet therefor cannot test code.