David Thank you for your response! i'm no expert in this and i'm using old VB6(the only thing i know on hobby level)
when i tried IQ real time streaming-yes,it give you a single stream
here is what i did-
first -create array of tickers and datafields you need. for example-400 tickers-then array will be 400 items
then i use loop to subscribe to a data from lbound to ubound-etc
now data starts streaming through and i got basically a string from IQ,containing different fields such as ticker,last price,time and so on
in order to assign this data to appropriate place in array i have to go trough the loop again and find in array item,where ticker = ticker
in streaming data from IQ. it's unique identifier i use
so each time i got string of data from IQ-i have go trough the loop to find appropriate spot for this ticker in array and assign whatever data i got into it
this is where i stuck,because there is so much data flowing that i can't keep up with it (also on dual core with plenty of memory and 10K HD)
my question is-is there is another way around or what i'm doing wrong or what other developers do to assign data into array(or any other object )and work with it?
i'm reading about hashtables right now,but i see no difference between them and indexed array. looks like you still have to go through the loop to find matching ticker
can anyone clarify this part for me? or this is the only way to work with IQ Streaming quotes?
Thank you!
found example here-
http://www.freevbcode.com/ShowCode.asp?ID=8581
but it makes things even more confusing. specially this sentence:
---
Hash tables are used to store data in them, like arrays, but the difference is this: to find an item in an array, it has an order of O(n), but in hash tables, the order is O(1).--