PEC_SDK Faq
PEC_SDK
What is the PEC_SDK?
The Price Engine Client Software Development Kit (PEC_SDK) is a tool that FXCM offers to customers who wish to build charting or analytics software powered by the FXCM price stream. There are two interfaces available in Java and C++, and the kit includes documentation, libraries, sample code, and examples. With it, you can obtain historical price data for currency pairs in a number of different time resolutions, and you can subscribe for real-time tick updates.
What currency pairs are available?
Any currency pair that FXCM allows for trading on its 100k account can be accessed through the PEC_SDK. For every pair, you have access to about 4 years of historical price data, and up to 10 years on a daily time resolution. You can also subscribe for real-time tick updates in each currency pair.
What Time Frames are available?
Currently there is tick, 1-minute, 5-minute, 15-minute, 30-minute, 60-minute, daily, weekly and monthly available through the SDK.
How am I updated on new versions that come available, and are the new versions backwards compatible?
You will have an email automatically generated from this forum whenever a new version of the PEC_SDK becomes available. FXCM has organized releases into major and minor versions, and generally they will support the product for the existing and most previous major version. The documentation includes information about the changes and release notes for each new version.
How many connections can I maintain?
Once you obtain a production account, you can maintain up to 3 connections per login to the FXCM servers. This product is meant as a gateway API, so it should not be used for retail connections from a customer PC directly to the price servers.
Why am I restricted to 300 periods of historical data?
Each request for historical data is restricted to 300 periods, but you can easily get more historical data by making multiple requests. Each request has a start and end time. You can specify the entire period for which you want data, and you will be returned the most recent 300 periods from the end date you specify. You can then work backwards making multiple requests, and for each subsequent request, change the end date to the start date of the previous request.
Also, FXCM has a data store for some currency pairs and time resolutions. You can contact them to get access to that data.
Where would I be able to see an example of how to use the SDK?
There is an basic example program provided in SDK that contains all the required steps to open a connection with the FXCM Price Server.
How can I get a login?
The examples in both C++ and Java contain logins that you can use to the development servers that are specially set up for development and testing.
You must contact FXCM for a production login, and you must have some standing business relationship with them as an introducing broker or institutional customer.
Can I place Live Trades using this SDK?
The sole function of this SDK is to retrieve historic and real-time price updates. Trades can be placed through one of our trading APIs.
|