|
|
-
FIXFXCM10.xml doesn't seem to work with Quickfix/J
Hello alltogether,
in order to connect to FXCMs FIX server, we used to use the standard FIX44.xml definition for the last months now, together with Quickfix/J 1.5.0.
Now I tried to use Quickfix/J 1.5.2, and seems to have more consistency checks and doesn't accept the server responses anymore.
So I was forced to use the custom FIXFXCM10.xml datadictionary. (downloaded from FIX Documentation - Subscribe for updates)
But this doesn't seem to work with Quickfix/J.
Then I asked the Quickfix/J team for a solution and they told me, that the problem is in the definition file. So I think it makes sense to take a close look at this issue:
[#QFJ-667] for a custom data dictionary, some fields are generated twice, and so compilation fails with XY.java: get(quickfix.field.Currency) is already defined in quickfix.fix44.XY - QuickFIX/J Jira
It says:
" This applies to the custom data dictionary. E.g. the Currency is defined on Advertisement (standard) and then also on the Instrument component (custom usage). Since the Instrument component is used on the Advertisement, the Currency field will appear twice which is not allowed."
I'd be very happy to use Quickfix/J 1.5.2 n the future. Meanwhile I can stick with the older version wich luckily works, but of course it won't last forever.
Thank you very much,
Heiko Seebach
-
The definition file was built against quickfixj 1.4, but we will take a look at this for any future updates.
-
SenderComp, TargetComp and TargetSub problems
Hi,
I downloaded the FIXTradingTester sample app posted by 'rkichenama'. I'm using the following values in the file 'quickFixExample.cfg'.
BeginString=FIX.4.4
SocketConnectHost=quickfix.fxcorporate.com
SocketConnectPort=8000
SenderCompID=test
TargetCompID=DEMO
TargetSubID=
I currently only have a demo account. I'd like to know if the above values I'm using are correct and also what I should use for 'TargetSubID'.
My session gets disconnected immediately after being created as follows;
Feb 14, 2012 12:43:49 AM quickfix.mina.initiator.InitiatorIoHandler sessionCreated
INFO: MINA session created for FIX.4.4:test->DEMO: local=/127.0.0.1:2807, class org.apache.mina.transport.socket.nio.SocketSessionImpl, remote=quickfix.fxcorporate.com/204.8.241.188:8000
Logged out D3159********
Feb 14, 2012 12:43:50 AM quickfix.Session disconnect
INFO: [FIX.4.4:test->DEMO] Disconnecting: IO Session closed
|