|
|
 |
|

08-20-2009, 04:15 PM
|
|
Member
|
|
Join Date: Jun 2009
Posts: 19
|
|
|
FIX Error help?
below is the output of the FXCM FIX api example as well as the quickfix tradeclient example with the cfg file..... whats the problem here?
Code:
<20090820-20:11:56, FIX.4.4:paradigmdemo_client1->FXCM, event>
(Created session)
1) Enter Order
2) Cancel Order
3) Replace Order
4) Market data test
5) Quit
Action: <20090820-20:11:56, FIX.4.4:paradigmdemo_client1->FXCM, event>
(Connecting to fixdemo2.fxcorporate.com on port 80)
<20090820-20:11:56, FIX.4.4:paradigmdemo_client1->FXCM, outgoing>
(8=FIX.4.4☺9=79☺35=A☺34=7☺49=paradigmdemo_client1☺52=20090820-20:11:56.866☺56=
FXCM☺98=0☺108=30☺10=059☺)
<20090820-20:11:56, FIX.4.4:paradigmdemo_client1->FXCM, event>
(Initiated logon request)
<20090820-20:11:56, FIX.4.4:paradigmdemo_client1->FXCM, event>
(Socket Error: Connection reset by peer.)
<20090820-20:11:56, FIX.4.4:paradigmdemo_client1->FXCM, event>
(Disconnecting)
Logout - FIX.4.4:paradigmdemo_client1->FXCM
<20090820-20:11:57, FIX.4.4:paradigmdemo_client1->FXCM, event>
(Connecting to fixdemo2.fxcorporate.com on port 80)
<20090820-20:11:57, FIX.4.4:paradigmdemo_client1->FXCM, outgoing>
(8=FIX.4.4☺9=79☺35=A☺34=8☺49=paradigmdemo_client1☺52=20090820-20:11:57.867☺56=
FXCM☺98=0☺108=30☺10=062☺)
<20090820-20:11:57, FIX.4.4:paradigmdemo_client1->FXCM, event>
(Initiated logon request)
<20090820-20:11:57, FIX.4.4:paradigmdemo_client1->FXCM, event>
(Socket Error: Connection reset by peer.)
<20090820-20:11:57, FIX.4.4:paradigmdemo_client1->FXCM, event>
(Disconnecting)
|

08-20-2009, 04:18 PM
|
|
Moderator
|
|
Join Date: Jan 2006
Posts: 1,990
|
|
|
Did you forget to set the correct TargetSubID in your cfg?
TargetSubID=SOMETHING
|

08-20-2009, 04:21 PM
|
|
Member
|
|
Join Date: Jun 2009
Posts: 19
|
|
|
CFG file i am using
[DEFAULT]
ConnectionType=initiator
HeartBtInt=30
FileStorePath=store
StartDay=Sunday
StartTime=00:00:00
EndDay=Saturday
EndTime=00:00:00
UseDataDictionary=Y
DataDictionary=FIXFXCM10.xml
ValidateUserDefinedFields=N
ValidateFieldsHaveValues=N
ValidateFieldsOutOfOrder=N
SocketConnectHost=fixdemo2.fxcorporate.com
SocketConnectPort=80
ReconnectInterval=10
ResetOnDisconnect=N
ResetSeqNumFlag=Y
ResetOnLogout=N
SendResetSeqNumFlag=Y
ContinueInitializationOnError=Y
[SESSION]
BeginString=FIX.4.4
SocketConnectPort=80
SenderCompID=paradigmdemo_client1
TargetCompID=FXCM
TargetSubID=U100D1
|

08-20-2009, 04:28 PM
|
|
Member
|
|
Join Date: Jun 2009
Posts: 19
|
|
BeginString: 5<20090820-20:28:06, FIX.4.4  aradigmdemo_client1->FXCM, event>
(Timed out waiting for logon response)
<20090820-20:28:06, FIX.4.4  aradigmdemo_client1->FXCM, event>
(Disconnecting)
this seems to be the real error Why am i timing out receiving a logon response from FXCM servers?
|

08-20-2009, 04:30 PM
|
|
Moderator
|
|
Join Date: Jan 2006
Posts: 1,990
|
|
|
I just tested your connection and it is working correctly. Perhaps you should investigate your network to ensure you can access the server.
|

08-20-2009, 04:33 PM
|
|
Moderator
|
|
Join Date: Jan 2006
Posts: 1,990
|
|
|
your client is not sending subid. please check your code and config.
|

08-20-2009, 04:35 PM
|
|
Member
|
|
Join Date: Jun 2009
Posts: 19
|
|
|
Do you have skype
Do you have skype or some kinda of IM client so that i can bounce ideas off of you cause i can edit the code and compile as we do all this...so that we can fix the problem alot quicker
|

08-20-2009, 04:39 PM
|
|
Member
|
|
Join Date: Jun 2009
Posts: 19
|
|
|
I am using non modified code directly from quickfix as well as the CFG files and Information that was sent to me.... When does this SubID need to be sent... cause the qickfix api should be sending it...
|

08-20-2009, 04:53 PM
|
|
Moderator
|
|
Join Date: Jan 2006
Posts: 1,990
|
|
|
are you using quickfixj 1.4? try and download the zip again with example again I updated it slightly.
|

08-20-2009, 04:57 PM
|
|
Member
|
|
Join Date: Jun 2009
Posts: 19
|
|
|
I actually using Visual Studio 2008. I am using regular quickfix with c++ not quickfixJ
Have any of the orders i have tried sending been accepted by the demo system? Do you have any code that you can give me? even if its in quickfixJ?
|

08-20-2009, 04:59 PM
|
|
Moderator
|
|
Join Date: Jan 2006
Posts: 1,990
|
|
|
Then you will have to port the java example to c++ and figure out how to send TargetSubID on every outgoing message like the example does in quickfixj.
|

08-20-2009, 05:03 PM
|
|
Member
|
|
Join Date: Jun 2009
Posts: 19
|
|
|
thats fine... can u send me the direct link to download this updated code u spoke about before or anything else i need..... cause i can then port it over tonight for my use....
|

08-20-2009, 05:07 PM
|
|
Moderator
|
|
Join Date: Jan 2006
Posts: 1,990
|
|
|
|

08-20-2009, 05:15 PM
|
|
Member
|
|
Join Date: Jun 2009
Posts: 19
|
|
|
ahh yes i remember this code.... no instructions on how to compile it... i download quickfixJ and then what?
|

08-20-2009, 05:31 PM
|
|
Member
|
|
Join Date: Jun 2009
Posts: 19
|
|
|
How do i get this code to compile javac -classpath quickj-all.jar FIXtradingTester.Java works.... after that code dosent wanna run..... If i can just get a simple test environment setup that actuall works i can pretty much figure out the rest by trial and error.....
|
 |
|
| Thread Tools |
|
|
| Rate This Thread |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|