[Quickfix-developers] Currency Pairs
Brought to you by:
orenmnero
From: Parjeet S. <par...@oa...> - 2008-03-19 05:54:19
|
Hi, This is may be simple question but at the moment I am struggling. I have currency pairs such as AUD/USD, AUD/EUR and AUD/JPY etc. At the moment I am hard coding for testing AUD/USD but I want to have it config file. The issue is that how I can send each currency pairs at a time and receive the quote from the brokers and generate xml file. e.g. AUD/USD scenario is working fine for me but it is hard coded for 1 currency pairs. message.setField(New StringField(55, "AUD/USD")) message.setField(New StringField(15, "AUD")) Session.sendToTarget(message, "OAKVALE-PRICES-TEST", "BARX-PRICES-TEST") * I need to pass such as AUD/EUR in the sendToTarget. Do I have to loop around or is there a way QuickFIX can handle it. I will appreciate your help. Thanks PS |