|
|
 |
|

02-01-2010, 04:02 AM
|
|
Member
|
|
Join Date: Jul 2009
Posts: 172
|
|
Quote:
Originally Posted by Youholder
Does a demo account be expired after 30 days?
|
Yes they expire after 30 days but you can just open another demo account. Nothing in your code will change except for a different password and username that you will use to log on.
__________________
FXCM Programming Services is able to leverage its experience and expertise to help clients implement their automated strategy designs on platforms such as ESignal, TradeStation, MetaTrader, among others, upon request.
|

02-01-2010, 04:42 AM
|
|
Member
|
|
Join Date: Oct 2009
Posts: 23
|
|
|
For our application service will publich on iphone or facebook soon.(And user will know the dealing rate resource is "provided by FXCM")
Is it possible to get a "No expired demo account" ?
Thank you so much!
|

02-01-2010, 05:17 AM
|
|
Member
|
|
Join Date: Jul 2009
Posts: 172
|
|
Quote:
Originally Posted by Youholder
For our application service will publich on iphone or facebook soon.(And user will know the dealing rate resource is "provided by FXCM")
Is it possible to get a "No expired demo account" ?
Thank you so much!
|
You mean a demo account that doesn't expire? I believe so it is. You'll have to talk with your sales rep.
__________________
FXCM Programming Services is able to leverage its experience and expertise to help clients implement their automated strategy designs on platforms such as ESignal, TradeStation, MetaTrader, among others, upon request.
|

02-08-2010, 01:42 AM
|
|
Member
|
|
Join Date: Oct 2009
Posts: 23
|
|
|
According to what you have wrote: "The high and low on tick bars should not be looked at. The high and low is mainly for bars and is the high and the low of the bar.
If you want a session high and low, you would need to calculate that yourself or use Order2Go and grab the high and the low of the session from the rates table."
I have one more question:
Can we get the high&low immediatly for your trading API?or we really need to
calculate by ourself?
Now our problem is,If we miss some ticks(and the tick is the high or the low),we will have the wrong price.
Thanks!
|

02-08-2010, 02:11 AM
|
|
Member
|
|
Join Date: Jul 2009
Posts: 172
|
|
Quote:
Originally Posted by Youholder
According to what you have wrote: "The high and low on tick bars should not be looked at. The high and low is mainly for bars and is the high and the low of the bar.
If you want a session high and low, you would need to calculate that yourself or use Order2Go and grab the high and the low of the session from the rates table."
I have one more question:
Can we get the high&low immediatly for your trading API?or we really need to
calculate by ourself?
Now our problem is,If we miss some ticks(and the tick is the high or the low),we will have the wrong price.
Thanks!
|
You don't need to calculate it yourself. It's already calculated by the API. It's in the high and low columns of the Offers table. High gives you the highest Ask price for the current trading day (17:00 to 17:00 EST) and Low gives you the lowest Bid price for the current trading day (17:00 to 17:00 EST).
__________________
FXCM Programming Services is able to leverage its experience and expertise to help clients implement their automated strategy designs on platforms such as ESignal, TradeStation, MetaTrader, among others, upon request.
|

02-08-2010, 09:21 PM
|
|
Member
|
|
Join Date: Oct 2009
Posts: 23
|
|
Now we compair every high/low we got form the Offers table,if the number is the highest or lowest.Then we showed it.(We used to show the high/low we got form the Offers table immediatly,but it was wrong.)
Please help to check it at
????? (the left side:FXCM Trading Platform, the right side:Our FXquote on Facebook)...There are so many differents,and we can't find out a solution.
Please help us to solve it.Thanks!
|

02-08-2010, 11:57 PM
|
|
Member
|
|
Join Date: Jul 2009
Posts: 172
|
|
Quote:
Originally Posted by Youholder
Now we compair every high/low we got form the Offers table,if the number is the highest or lowest.Then we showed it.(We used to show the high/low we got form the Offers table immediatly,but it was wrong.)
Please help to check it at
????? (the left side:FXCM Trading Platform, the right side:Our FXquote on Facebook)...There are so many differents,and we can't find out a solution.
Please help us to solve it.Thanks!
|
This could be due to different servers being used for fxquotes and trading station. Or a difference in the number of pips added to the spread on both. For example, FXCM MT4 uses the same prices as Trading Station but with an increased spread, therefore, you would see different prices there although very close to each other. Another example is the active trader platform, which displays prices very different from prices in Trading Station and with only a 1 pip spread at most. If you notice for EUR/GBP in the second set of tables the spread is different on both sides. For EUR/JPY in the first set of tables the spread is also different. Also, notice that prices tick at different times on all tables.
__________________
FXCM Programming Services is able to leverage its experience and expertise to help clients implement their automated strategy designs on platforms such as ESignal, TradeStation, MetaTrader, among others, upon request.
|

02-09-2010, 12:33 AM
|
|
Member
|
|
Join Date: Oct 2009
Posts: 23
|
|
|
We use the same account to sign in your FXCM Trading Station and our Quote on Facebook(is using your JAVA Trading API).
Does your FXCM Trading Station and JAVA Trading API use different server?
|

02-09-2010, 07:28 AM
|
|
Member
|
|
Join Date: Jul 2009
Posts: 172
|
|
Quote:
Originally Posted by Youholder
We use the same account to sign in your FXCM Trading Station and our Quote on Facebook(is using your JAVA Trading API).
Does your FXCM Trading Station and JAVA Trading API use different server?
|
THe Quote on Facebook uses the PEC API which obtains prices from a different server than Trading Station, hence the difference.
__________________
FXCM Programming Services is able to leverage its experience and expertise to help clients implement their automated strategy designs on platforms such as ESignal, TradeStation, MetaTrader, among others, upon request.
|

02-09-2010, 07:57 PM
|
|
Member
|
|
Join Date: Oct 2009
Posts: 23
|
|
|
Our Quote on Facebook uses your Java Trading API,not PEC API. Is that Java Trading API obtains prices from a different server than Trading Station?
|

02-10-2010, 07:42 AM
|
|
Member
|
|
Join Date: Jul 2009
Posts: 172
|
|
Quote:
Originally Posted by Youholder
Our Quote on Facebook uses your Java Trading API,not PEC API. Is that Java Trading API obtains prices from a different server than Trading Station?
|
What function are you using from the Java API to get the high and low of the trading session in your application.
__________________
FXCM Programming Services is able to leverage its experience and expertise to help clients implement their automated strategy designs on platforms such as ESignal, TradeStation, MetaTrader, among others, upon request.
|

02-22-2010, 03:13 AM
|
|
Member
|
|
Join Date: Oct 2009
Posts: 23
|
|
|
Our code to subscribe currency (some abridged):
IGateway mFxcmGateway = GatewayFactory.createGateway();
mFxcmGateway.registerGenericMessageListener(this);
mFxcmGateway.registerStatusMessageListener(this);
mFxcmGateway.login(new FXCMLoginProperties(sUsername, sPassword, sStation, sServer, sConfigfile));
...
MarketDataRequest mdr = new MarketDataRequest();
... // addRelatedSymbol
mdr.setFXCMTimingInterval(FXCMTimingIntervalFactor y.TICK);
mdr.setSubscriptionRequestType(SubscriptionRequest TypeFactory.SUBSCRIBE);
mdr.setMDEntryTypeSet(MarketDataRequest.MDENTRYTYP ESET_TICKALL);
mFxcmGateway.sendMessage(mdr);
Our code to pick High/Low:
long High = aMarketDataSnapshot.getAskHigh();
long Low = aMarketDataSnapshot.getBidLow();
|

02-22-2010, 06:42 AM
|
|
Member
|
|
Join Date: Jul 2009
Posts: 172
|
|
Quote:
Originally Posted by Youholder
Our code to subscribe currency (some abridged):
IGateway mFxcmGateway = GatewayFactory.createGateway();
mFxcmGateway.registerGenericMessageListener(this);
mFxcmGateway.registerStatusMessageListener(this);
mFxcmGateway.login(new FXCMLoginProperties(sUsername, sPassword, sStation, sServer, sConfigfile));
...
MarketDataRequest mdr = new MarketDataRequest();
... // addRelatedSymbol
mdr.setFXCMTimingInterval(FXCMTimingIntervalFactor y.TICK);
mdr.setSubscriptionRequestType(SubscriptionRequest TypeFactory.SUBSCRIBE);
mdr.setMDEntryTypeSet(MarketDataRequest.MDENTRYTYP ESET_TICKALL);
mFxcmGateway.sendMessage(mdr);
Our code to pick High/Low:
long High = aMarketDataSnapshot.getAskHigh();
long Low = aMarketDataSnapshot.getBidLow();
|
Use aMarketDataSnapshot.getHigh(); and aMarketDataSnapshot.getLow();
Those two methods will give you the highest and lowest tick of the session.
__________________
FXCM Programming Services is able to leverage its experience and expertise to help clients implement their automated strategy designs on platforms such as ESignal, TradeStation, MetaTrader, among others, upon request.
|

02-23-2010, 11:50 PM
|
|
Member
|
|
Join Date: Oct 2009
Posts: 23
|
|
|
Now we get the same High/Low price with FXCM Trading Platform.
Thanks a lot!
|

03-01-2010, 04:02 AM
|
|
Member
|
|
Join Date: Oct 2009
Posts: 23
|
|
|
Sorry for report again...
We found another question:
The High data is correct at the moment that we link to your server.
But when it being linked for many hours,some High data getting wrong.
Now we just subscribe only 23 pairs.
And restart our server(also relink to your server) everyday.
This situation still happens.
Please help to find out a solution.
Thanks again!
Rita
|
 |
|
| Thread Tools |
|
|
| 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
HTML code is Off
|
|
|
|