Go Back   DailyFX Forum > FXCM Products and Services > FXProgrammers > Source Documentation > General API Info

Reply
 
Thread Tools Rate Thread
  #1 (permalink)  
Old 01-27-2006, 11:02 AM
Member
 
Join Date: Dec 2005
Posts: 19
Simit Patel is on a distinguished road
Java / FIX Trading API

Please note, this API download package contains information for both the Java Trading API, as well as the FIX Trading API, which are separate APIs but are bundled together since the object models are both based on the FIX specification. If you are only interested in the FIX API, the only document you need is titled "FXCM-FIX-BSI.doc" in the download.

The FXCM Trading SDK provides clients with a fully functioning programmable API into the FXCM FX trading platform. The API’s main features are streaming executable FX trading prices, the ability to open/close positions and entry orders as well as set/update/delete stops ands limits. The API Object model is based on the FIX specification for FX (http://www.fixprotocol.org) and is very simple and easy to use.

Brief overview of core API classes – See javadocs for complete details
  • IGateway: this is the primary interface into the FXCM trading platform. It contains all the entry points into application usability.
  • FXCMLoginProperties: this class is used in the login method of IGateway and contains the properties necessary to log in.
  • CollateralReport: represents an FXCM accounts properties at the time the message was generated. When it is a part of a batch response the RequestID can be used to match against the RequestID received from the IGateway.
  • ExecutionReport: this class represents an order’s status in the system. When it is a part of a batch response the RequestID can be used to match against the RequestID received from the IGateway.
  • PositionReport: this class is used to represent a position’s status in the FXCM system. When it is a part of a batch response the RequestID can be used to match against the RequestID received from the IGateway.
  • ClosedPositionReport: this class represents a closed position in the FXCM system. When it is a part of a batch response the RequestID can be used to match against the RequestID received from the IGateway.
  • OrderSingle: this class is used to send orders into the system.
  • CollateralInquiryAck: this class is the first leg of a batch response to retrieve accounts.
  • RequestForPositionsAck: this class is the first leg of a batch response to retrieve open or closed positions.
  • MessageGenerator: this class is a factory for all order types available in the API
  • OrderCancelRequest: this class is used to delete stop/limit orders.
  • OrderCancelReplaceRequest: this class is used to update entry order prices and also to update stop/limit order prices
  • IGenericMessageListener: implementations of this interface are registered with IGateway to receive application messages.
  • IStatusMessageListener: implementations of this interface are registered with IGateway to receive application status messages.
Requirements
- The developer or developing company must be an existing FXCM client with an account balance over $25,000, or an introducing broker.

To obtain this API, please fill out the api request form at
http://www.fxprogrammers.com/api_request.htm
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 On
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:46 PM.
Copyright ©2009 Daily FX. All Rights Reserved.