From: Hristo K. <hr...@ri...> - 2006-11-22 14:37:28
Hi,
I am new to QuickFix/J and have difficulties reading a FIX 4.4
"MarketDataIncrementalRefresh" message.
Could somebody post a code snippet, showing how to do this?
many thanks,
Hristo
From: Matyas B. <ma...@ba...> - 2006-11-22 14:53:22
Hi!
This is from our code... The difficult part could be the repeating
group. But in the quickfixj webpage there are a good examples...
MarketDataIncrementalRefresh mdIncrRefresh = new
MarketDataIncrementalRefresh();
mdIncrRefresh.set(mdReq.getMDReqID());
mdIncrRefresh.set(NO_MD_ENTRIES_1);
//Here we create a NoMDEntries group
MarketDataIncrementalRefresh.NoMDEntries noMdEntries = new
MarketDataIncrementalRefresh.NoMDEntries();
noMdEntries.set(new MDUpdateAction(mdUpdateAction));
noMdEntries.set(MD_ENTRY_TYPE_INDEX_VALUE);
//mdEntryId
//mdEntryRefId
noMdEntries.set(new Symbol(getSymbolFromReutersCode(rtCode,
category)));
noMdEntries.set(PRODUCT_CURRENCY);
noMdEntries.set(SECURITY_TYPE_FOR);
noMdEntries.set(new MDEntryPx(midPrice));
//currency
//MDEntryDate
//MDEntryTime
//TickDirection
//MDMkt
noMdEntries.set(tradSessID);
//text
//Here we add the group to the message! You can create more than
one group...
mdIncrRefresh.addGroup(noMdEntries);
sendMessage(mdIncrRefresh, sessionID);
Regards,
Matyas
Hristo Katsarski wrote:
>QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
>QuickFIX/J Support: http://www.quickfixj.org/support/
>Hi,
>
>I am new to QuickFix/J and have difficulties reading a FIX 4.4
>"MarketDataIncrementalRefresh" message.
>Could somebody post a code snippet, showing how to do this?
>
>many thanks,
>Hristo
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys - and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Quickfixj-users mailing list
>Qui...@li...
>https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>
>