Hi, I am trying to streaming tick data for 40 instruments in a single program. Once 21 of them has been registered, no more registration can be done.
May I know if there is a limitation of number of instruments?
What is the criterion?
Why there are 2 threads for each registration?
I am using a for loop to do this.
for(int i=0; i<40, i++) {
consumer[i] = EmaFactory.createOmmConsumer(config.host("000.000.0.000:00000").username("ABC"));
OmmConsumerClient eventHandler = this;
consumer[i].registerClient(
EmaFactory.createReqMsg().serviceName("IDN_SELECTFEED").name(int2RicMap.get(key)),
eventHandler);
}