Go Back   DailyFX Forex Forum | FX Forum > FXCM Products and Services > FXProgrammers > Discussion / Support Forum > Java Trading API Support

Reply
 
Thread Tools Rate Thread
  #16 (permalink)  
Old 05-21-2008, 01:34 PM
Member
 
Join Date: Feb 2007
Posts: 58
Nopik is on a distinguished road
Well, as my application is a web service your messages are not displayed on my screen. However, I do have my log4j logs seeing it. In case of ExecutionReport I do not print whole message, just take few fields out of it and print it to logs.
The fields which I am printing are:

getFXCMOrdStatus: FXCMOrdStatus:Rejected (R)
getFXCMOrdType: null
getLastPx: 0.0
getFXCMPosID: null
getOrderQty: 0
getPrice: 0.0
getStopPx: 0.0
getSide: SideFactory:Undisclosed (7)
getClOrdID: <very long identifier >
getOrderID: NONE
getOrdType: OrdType:Market (1)

this was example of rejected open market trade.

In case of rejected close market trade there are following differencies:
getFXCMPosID: 8975915
getOrderQty: 10000
__________________
http://www.nopik.net
Reply With Quote
  #17 (permalink)  
Old 05-28-2008, 10:02 AM
Moderator
 
Join Date: Jan 2006
Posts: 2,005
FXCM Help is on a distinguished road
Turn on fxcm api debug log, see attached log4j.xml example. We use commons-logging so your particular implementation may vary.

Then email the log with your missing requestid's
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 09:51 PM.
Copyright ©2009 Daily FX. All Rights Reserved.