Go Back   DailyFX Forum > FXCM Products and Services > FXProgrammers > Discussion / Support Forum > FIX API Support

Reply
 
Thread Tools Rate Thread
  #1 (permalink)  
Old 08-20-2009, 04:15 PM
Member
 
Join Date: Jun 2009
Posts: 19
mzummo is an unknown quantity at this point
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)
Reply With Quote
  #2 (permalink)  
Old 08-20-2009, 04:18 PM
Moderator
 
Join Date: Jan 2006
Posts: 1,990
FXCM Help is on a distinguished road
Did you forget to set the correct TargetSubID in your cfg?

TargetSubID=SOMETHING
Reply With Quote
  #3 (permalink)  
Old 08-20-2009, 04:21 PM
Member
 
Join Date: Jun 2009
Posts: 19
mzummo is an unknown quantity at this point
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
Reply With Quote
  #4 (permalink)  
Old 08-20-2009, 04:28 PM
Member
 
Join Date: Jun 2009
Posts: 19
mzummo is an unknown quantity at this point
BeginString: 5<20090820-20:28:06, FIX.4.4aradigmdemo_client1->FXCM, event>
(Timed out waiting for logon response)
<20090820-20:28:06, FIX.4.4aradigmdemo_client1->FXCM, event>
(Disconnecting)




this seems to be the real error Why am i timing out receiving a logon response from FXCM servers?
Reply With Quote
  #5 (permalink)  
Old 08-20-2009, 04:30 PM
Moderator
 
Join Date: Jan 2006
Posts: 1,990
FXCM Help is on a distinguished road
I just tested your connection and it is working correctly. Perhaps you should investigate your network to ensure you can access the server.
Reply With Quote
  #6 (permalink)  
Old 08-20-2009, 04:33 PM
Moderator
 
Join Date: Jan 2006
Posts: 1,990
FXCM Help is on a distinguished road
your client is not sending subid. please check your code and config.
Reply With Quote
  #7 (permalink)  
Old 08-20-2009, 04:35 PM
Member
 
Join Date: Jun 2009
Posts: 19
mzummo is an unknown quantity at this point
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
Reply With Quote
  #8 (permalink)  
Old 08-20-2009, 04:39 PM
Member
 
Join Date: Jun 2009
Posts: 19
mzummo is an unknown quantity at this point
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...
Reply With Quote
  #9 (permalink)  
Old 08-20-2009, 04:53 PM
Moderator
 
Join Date: Jan 2006
Posts: 1,990
FXCM Help is on a distinguished road
are you using quickfixj 1.4? try and download the zip again with example again I updated it slightly.
Reply With Quote
  #10 (permalink)  
Old 08-20-2009, 04:57 PM
Member
 
Join Date: Jun 2009
Posts: 19
mzummo is an unknown quantity at this point
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?
Reply With Quote
  #11 (permalink)  
Old 08-20-2009, 04:59 PM
Moderator
 
Join Date: Jan 2006
Posts: 1,990
FXCM Help is on a distinguished road
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.
Reply With Quote
  #12 (permalink)  
Old 08-20-2009, 05:03 PM
Member
 
Join Date: Jun 2009
Posts: 19
mzummo is an unknown quantity at this point
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....
Reply With Quote
  #13 (permalink)  
Old 08-20-2009, 05:07 PM
Moderator
 
Join Date: Jan 2006
Posts: 1,990
FXCM Help is on a distinguished road
its the stickied at the top of this forum.

Quickfix Java Example

FIX Frequently Asked Questions
Reply With Quote
  #14 (permalink)  
Old 08-20-2009, 05:15 PM
Member
 
Join Date: Jun 2009
Posts: 19
mzummo is an unknown quantity at this point
ahh yes i remember this code.... no instructions on how to compile it... i download quickfixJ and then what?
Reply With Quote
  #15 (permalink)  
Old 08-20-2009, 05:31 PM
Member
 
Join Date: Jun 2009
Posts: 19
mzummo is an unknown quantity at this point
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.....
Reply With Quote
Reply

Thread Tools
Rate This Thread
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Disclaimer: Trading foreign exchange on margin carries a high level of risk, and may not be suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to trade foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with foreign exchange trading, and seek advice from an independent financial advisor if you have any doubts. Any opinions, news, research, analyses, prices, or other information contained on this website is provided as general market commentary and does not constitute investment advice. Forex Capital Markets LLC. will not accept liability for any loss or damage, including without limitation to, any loss of profit, which may arise directly or indirectly from use of or reliance on such information.

All times are GMT -5. The time now is 05:00 PM.
Copyright ©2009 Daily FX. All Rights Reserved.