Hi there,
I'm writing a listener to download real time market data using the ema lib but there are quite a number of large documents and I found it hard to know which one to look for for what I need..
For instance where do I found all services name available, I'm assuming "DIRECT_FEED" is what I want.
I also I want to retrieve data price and volume for a high number of security so I'm assuming I need to make a batch request but I only want top of book so what do I set for that?
ElementList batch = EmaFactory.createElementList(); OmmArray array = EmaFactory.createOmmArray(); array.add(EmaFactory.createOmmArrayEntry().ascii("TRI.N")); array.add(EmaFactory.createOmmArrayEntry().ascii("IBM.N")); batch.add(EmaFactory.createElementEntry().array(EmaRdm.ENAME_BATCH_ITEM_LIST, array));
Additionally assuming "DIRECT_FEED" is what I need how do I know what type of messages it returns and its message protocol like whether I get a finished message at the end of the day and so on.
Much appreciated,
Richard