Java创建consumer对象,回调onRefreshMsg方法,数据如何落地 这里操作onRefreshMsg回调方法不能注入,使用@Autowired后此接口不会被回调 class AppClient implements OmmConsumerClient { public void onRefreshMsg(RefreshMsg refreshMsg, OmmConsumerEvent event) { System.out.println(refreshMsg); } public void onUpdateMsg(UpdateMsg updateMsg, OmmConsumerEvent event) {…
Here is my code to decode EMA fid 3754 switch(fe.getFieldId()) { case 3754: fxsnapshot.Enlarge = atof(fe.getRmtes().toString()); ...... ...... } the cout of RefreshMsg is FieldEntry fid="3754" name="SCALING" dataType="Rmtes" value="1" As I decode it as string,I can not get the right value. May someone tell how to decode…
Here is my Code, according to C++ EMA Cons113: OmmConsumerConfig config; EmaString itemName = "EUR="; EmaString consumerName = "Consumer_4"; config.username("xxxxxx"); config.password("xxxxxx"); config.clientId("xxxxxx"); OmmConsumer consumer( config.consumerName( consumerName ) ); consumer.registerClient(…
Can you please help to create RIC and update FID ( Add / Delete) from exisiting RIC using consumer in EMA API? Thanks
Hi all, I would like to use the OmmConsumer.submit to update a line in a RIC page, but seems i can only replace the value starting the beginning, but i found it is possible to specify the start position using RtContribute in excel plugin. My update goes via TREP RAID link to Refinitiv. Many Thanks
When i try to subscribe to ALINN.PA i receive this exception : Exception Type='OmmJsonConverterException', Text='Failed to convert JSON message: {"ID":24187,"Type":"Error","Text":"JSON Converter unexpected value: Invalid date value: 2022-11, code =…
...eceive a blank data? Have anyone seen this behavior? Example: Symbol : USDSB3LC2Y=RCM , field GEN_VAL4 is 0.0 on EIKON and blank in refinitiv EMA Api Refinitiv Real Time data using EMA - EIkon shows a value of 0 for a field, but using the api, we receive a blank data? Have anyone seen this behavior? Example: Symbol :…
Hi team, client is using bellow EMACONFIG.XML. could you pls guide how to add reconnect time parameter? and what is the reconnect action for bellow configuration. thanks
I am migrating the excel application to a java application, the Refinitive API part I am using EMAJ in my application. However I have no idea how to use EMAJ to replace the below function call in Excel. Anyone has any ideas please ? =AdFxSwpToDep(CalcDate, PeriodArray, Cur1Cur2, Spot1BA, Spot2BA , Swp1Array, Swp2Array,…
From Client: Also with regards to the EmaConfig.xml file (and files it references, such as RDMFieldDictionary and enumtype.def), how do other clients go about handling relative paths for these files? The locations of configuration files like these differ for us between testing and production environments. Typically we…
It looks like you're new here. Sign in or register to get started.