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

Reply
 
Thread Tools Rate Thread
  #16 (permalink)  
Old 08-20-2009, 05:35 PM
Moderator
 
Join Date: Jan 2006
Posts: 1,990
FXCM Help is on a distinguished road
Are you sure you are compliling successfully, without errors.
When you try to run it, are you getting any errors? Make sure you are also setting classpath when trying to run it. Make sure you update the eg.cfg file with your fix credentials provided to you.
Reply With Quote
  #17 (permalink)  
Old 08-20-2009, 05:37 PM
Member
 
Join Date: Jun 2009
Posts: 19
mzummo is an unknown quantity at this point
I cannot compile it.... I have no Idea how to compile it.... i know that were importing the QuickJ classes as cause the code calls it right at the beginning.... However how do i compile this code...... "javac ...... FIXtrading........." then after u have compiled it How do i run it.

These are questions again i cannot get teh code to compile i need the permaters..... ex: Javac..... what goes after javac and when you goto run it what goes after Java
Reply With Quote
  #18 (permalink)  
Old 08-20-2009, 05:44 PM
Moderator
 
Join Date: Jan 2006
Posts: 1,990
FXCM Help is on a distinguished road
Simplest way to compile the test application, is place all files in same directory, place quickfixj-all-1.4.0.jar from quickfixj distribution in same directory, and compile with the following command;

javac -classpath quickfixj-all-1.4.0.jar FIXTradingTester.java

This should produce class files which you can execute
Reply With Quote
  #19 (permalink)  
Old 08-20-2009, 05:45 PM
Member
 
Join Date: Jun 2009
Posts: 19
mzummo is an unknown quantity at this point
compilation was fine.... now how do i run it?
Reply With Quote
  #20 (permalink)  
Old 08-20-2009, 05:48 PM
Member
 
Join Date: Jun 2009
Posts: 19
mzummo is an unknown quantity at this point
mathew-zummos-imac:FIXtradingTester-5 mzummo$ Java FIXTradingTester
Exception in thread "main" java.lang.NoClassDefFoundError: quickfix/Application


mathew-zummos-imac:FIXtradingTester-5 mzummo$ java -classpath quickfixj-all-1.4.0.jar FIXTradingTester
Exception in thread "main" java.lang.NoClassDefFoundError: FIXTradingTester
mathew-zummos-imac:FIXtradingTester-5 mzummo$



How do i run it?
Reply With Quote
  #21 (permalink)  
Old 08-20-2009, 06:00 PM
Moderator
 
Join Date: Jan 2006
Posts: 1,990
FXCM Help is on a distinguished road
You should be able to run the program with following command

java -classpath .;quickfixj-all-1.4.0.jar;mina-core-1.1.0.jar;slf4j-api-1.5.3.jar;slf4j-jdk14-1.5.3.jar FIXTradingTester eg.cfg

Make sure you've also copied over the required jars from quickfixj distribution
Reply With Quote
  #22 (permalink)  
Old 08-20-2009, 06:02 PM
Member
 
Join Date: Jun 2009
Posts: 19
mzummo is an unknown quantity at this point
still cant get it to run

also the end goal of this project of mine is to create a automated trading strategy... what would be the best way and in what language to integrate the FIX engine as well as do do calculations based on price feeds such as MACD etc etc except programming wise? Order2go api indicator SDK?
Reply With Quote
  #23 (permalink)  
Old 08-20-2009, 06:04 PM
Member
 
Join Date: Jun 2009
Posts: 19
mzummo is an unknown quantity at this point
still wont run and some of these file u are including i have no idea what they are.....
Reply With Quote
  #24 (permalink)  
Old 08-20-2009, 06:08 PM
Moderator
 
Join Date: Jan 2006
Posts: 1,990
FXCM Help is on a distinguished road
mina-core-1.1.0.jar, slf4j-api-1.5.3.jar, slf4j-jdk14-1.5.3.jar are libraries required by quickfixj, and are bundled core files. You will find in the lib directory of the distribution.

After you get these files, and try to compile, what is the error you are getting?
Reply With Quote
  #25 (permalink)  
Old 08-20-2009, 06:08 PM
Member
 
Join Date: Jun 2009
Posts: 19
mzummo is an unknown quantity at this point
Ill be completely honest right now.... I will pay to have the code I need written to work with FXCM and everything i need done cause i do not have the time to mess around with non existent documentation and the slow response times of using the forum. What are my options because im not very happy right now and i have brought alot of business to FXCM and all i have is problems. I have been coding Since i was 10 normally with the proper documentation and resources i can get things working but this does not seem to the case
Reply With Quote
  #26 (permalink)  
Old 08-20-2009, 11:56 PM
Moderator
 
Join Date: Jan 2006
Posts: 1,990
FXCM Help is on a distinguished road
For information on our programming services of strategies and custom applications please visit:
Forex Programming Services| Learn Automated Trading Strategies
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 07:11 PM.
Copyright ©2009 Daily FX. All Rights Reserved.