Until May 2021, it was possible to get LL2 in real time by adding the letter m to the RIC, for example ESU1m
Today, to obtain LL2, the letter m is not needed, i.e. the format chainRIC+month+year+m is obsolete.
OmmConsumer consumer(config.host("1**.***.***.*:14002").username("EM1_****_*******"));
consumer.registerClient(ReqMsg().serviceName("hEDD").domainType(MMT_MARKET_PRICE).name("ESU1m"), client);
sleep(1200000);
Also, to get real-time quotas (Best Ask\Bid) and trades, the same code was used (if I understand correctly), but without the letter m
OmmConsumer consumer(config.host("1**.***.***.*:14002").username("EM1_****_*******"));
consumer.registerClient(ReqMsg().serviceName("hEDD").domainType(MMT_MARKET_PRICE).name("ESU1"), client);
sleep(1200000);
Question, if the RIC for LL2 is now without the letter m, and we use the MarketPrice domain to get LL2 and we also use the MarketPrice domain to get quotas and trades, where is the error? It can't be the same code with the same RIC, be both for LL2 and for quotas and trades.
Please tell me the correct code to get real-time on LL2 and on quotas with trades.