<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>DailyFX Forum - Java Trading API Support</title>
		<link>http://forexforums.dailyfx.com</link>
		<description />
		<language>en</language>
		<lastBuildDate>Sat, 21 Nov 2009 18:19:53 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://forexforums.dailyfx.com/images/dfx2009/misc/rss.jpg</url>
			<title>DailyFX Forum - Java Trading API Support</title>
			<link>http://forexforums.dailyfx.com</link>
		</image>
		<item>
			<title>Handling of Controlled and Clearing acount types</title>
			<link>http://forexforums.dailyfx.com/java-trading-api-support/125834-handling-controlled-clearing-acount-types.html</link>
			<pubDate>Tue, 17 Nov 2009 16:40:35 GMT</pubDate>
			<description>Hi, 
 
When a CollateralReport message arrives it...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
When a CollateralReport message arrives it contains the account type. <br />
What is the exact meaning of these account types:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">IFixDefs.FXCM_ACCT_TYPE_CONTROLLED, and <br />
IFixDefs.FXCM_ACCT_TYPE_CLEARING</code><hr />
</div>How should such account types be handled provided that we're using LAMM account to control a set of 'ordinary' trading accounts? <br />
<br />
We saw some sample code in the JavaTradingStation, but would like to get more information on this.<br />
<br />
Best Regards,</div>

]]></content:encoded>
			<category domain="http://forexforums.dailyfx.com/java-trading-api-support/">Java Trading API Support</category>
			<dc:creator>riflexo</dc:creator>
			<guid isPermaLink="true">http://forexforums.dailyfx.com/java-trading-api-support/125834-handling-controlled-clearing-acount-types.html</guid>
		</item>
		<item>
			<title>Obtaining the margin requirement for a currency pair?</title>
			<link>http://forexforums.dailyfx.com/java-trading-api-support/124027-obtaining-margin-requirement-currency-pair.html</link>
			<pubDate>Thu, 12 Nov 2009 14:37:50 GMT</pubDate>
			<description>Hi, using the java trading api, how can I...</description>
			<content:encoded><![CDATA[<div>Hi, using the java trading api, how can I obtain/calculate the margin requirement for a currency pair in dollars, like the MMR column of the Trading Station? Tatsuo</div>

]]></content:encoded>
			<category domain="http://forexforums.dailyfx.com/java-trading-api-support/">Java Trading API Support</category>
			<dc:creator>tanatsuk</dc:creator>
			<guid isPermaLink="true">http://forexforums.dailyfx.com/java-trading-api-support/124027-obtaining-margin-requirement-currency-pair.html</guid>
		</item>
		<item>
			<title>IGateway relogin</title>
			<link>http://forexforums.dailyfx.com/java-trading-api-support/123565-igateway-relogin.html</link>
			<pubDate>Wed, 11 Nov 2009 15:14:57 GMT</pubDate>
			<description>Using java api, when connection to FXCM is lost,...</description>
			<content:encoded><![CDATA[<div>Using java api, when connection to FXCM is lost, and a 'relogin' is made, it is necessary to register generic message listener again??<br />
<br />
Thanks, <br />
Aldo H.</div>

]]></content:encoded>
			<category domain="http://forexforums.dailyfx.com/java-trading-api-support/">Java Trading API Support</category>
			<dc:creator>cilufarag</dc:creator>
			<guid isPermaLink="true">http://forexforums.dailyfx.com/java-trading-api-support/123565-igateway-relogin.html</guid>
		</item>
		<item>
			<title>Getting data from recent past</title>
			<link>http://forexforums.dailyfx.com/java-trading-api-support/118201-getting-data-recent-past.html</link>
			<pubDate>Thu, 29 Oct 2009 00:50:31 GMT</pubDate>
			<description>I understand that when I start running my Java...</description>
			<content:encoded><![CDATA[<div>I understand that when I start running my Java trading program, it will collect the data fed to it by the FXCM servers. So if I start my program running on my servers at Oct 29, 2009 12:00PM GMT then my server will collect data starting from that point onward into the future.<br />
<br />
My question has to do with data from the recent past. For example, I want any indicators I code up (like a moving average for example) to be calculated using say daily data from the past 20 days, ie 20 trading days prior to Oct 29, 2009. Furthermore, suppose I am a day trader and am using hourly data to trade, and suppose my server goes down for some reason for 2 hours. Without the ability to &quot;fill in&quot; this missing data, my moving average and other indicators will have problems when my server comes back up.<br />
<br />
So, how is it possible from the Java API to get any data from the recent past?<br />
<br />
Note that any standard trading platform like MT4 has this ability. Just think of any time you open MT4 - it will fill in a set of charts with data from some time in the past until the most recent trade data. If the Java API is going to be useful as a real trading platform, it really should have this ability.<br />
<br />
Can one of the FXCM programmers discuss how this problem is addressed in the Java API?<br />
<br />
Thanks</div>

]]></content:encoded>
			<category domain="http://forexforums.dailyfx.com/java-trading-api-support/">Java Trading API Support</category>
			<dc:creator>fxmultitrader</dc:creator>
			<guid isPermaLink="true">http://forexforums.dailyfx.com/java-trading-api-support/118201-getting-data-recent-past.html</guid>
		</item>
		<item>
			<title>Question on demo and live login IDs</title>
			<link>http://forexforums.dailyfx.com/java-trading-api-support/115328-question-demo-live-login-ids.html</link>
			<pubDate>Fri, 23 Oct 2009 04:19:56 GMT</pubDate>
			<description>I have looked all over this message board and can...</description>
			<content:encoded><![CDATA[<div>I have looked all over this message board and can find no information on how to get access to a demo account for testing, and how to login to an existing live account. Since this entire API depends on having account access, I would have thought that there would be a sticky post that discusses getting started with account info. Since that doesn't seem to be the case, I will ask about how to do this and hope that the moderator makes a sticky post to that effect so that other people starting out don't have to search all over.<br />
<br />
My questions are as follows:<br />
1. Is there a demo account that we all use for testing? If so, what is the username and password?<br />
2. What is the server name for the demo account?<br />
3. It looks like the login method also requires a &quot;terminal&quot; variable. What value do we use for that? What exactly is &quot;terminal&quot; supposed to signifiy? Is it supposed to be a unique identifier for our client? Can you please discuss what exactly this is and what exactly the requirements for this are?<br />
4. I have a couple of live accounts on FXCM and one demo account. The 2 live accounts are currently Forex System Selector/Tradency accounts. The demo account is a MT4 demo account. Can I get access to these existing accounts through the Java API? Or must I open a new live account explicitly for use with the Java API? I also have a MT4 demo account? Please explain.<br />
5. What values do i use for server and terminal when I try to login to any live account (either an existing one or any new one I must open to use the java API)?<br />
<br />
Thanks</div>

]]></content:encoded>
			<category domain="http://forexforums.dailyfx.com/java-trading-api-support/">Java Trading API Support</category>
			<dc:creator>fxmultitrader</dc:creator>
			<guid isPermaLink="true">http://forexforums.dailyfx.com/java-trading-api-support/115328-question-demo-live-login-ids.html</guid>
		</item>
		<item>
			<title>SecondaryClOrdID of PositionReport</title>
			<link>http://forexforums.dailyfx.com/java-trading-api-support/106662-secondaryclordid-positionreport.html</link>
			<pubDate>Wed, 30 Sep 2009 16:27:02 GMT</pubDate>
			<description>Hi everybody, 
Is there a way to update...</description>
			<content:encoded><![CDATA[<div>Hi everybody,<br />
Is there a way to update 'SecondaryClOrdID' field of an existing open position??<br />
<br />
Thanks a lot,<br />
Aldo H.</div>

]]></content:encoded>
			<category domain="http://forexforums.dailyfx.com/java-trading-api-support/">Java Trading API Support</category>
			<dc:creator>cilufarag</dc:creator>
			<guid isPermaLink="true">http://forexforums.dailyfx.com/java-trading-api-support/106662-secondaryclordid-positionreport.html</guid>
		</item>
		<item>
			<title>Current Gross profit/loss of position</title>
			<link>http://forexforums.dailyfx.com/java-trading-api-support/106422-current-gross-profit-loss-position.html</link>
			<pubDate>Tue, 29 Sep 2009 16:24:46 GMT</pubDate>
			<description>Hi everybody, 
Is there a way to obtain the...</description>
			<content:encoded><![CDATA[<div>Hi everybody,<br />
Is there a way to obtain the current Gross profit/loss of a position using this API.<br />
<br />
Thanks a lot<br />
Aldo H.</div>

]]></content:encoded>
			<category domain="http://forexforums.dailyfx.com/java-trading-api-support/">Java Trading API Support</category>
			<dc:creator>cilufarag</dc:creator>
			<guid isPermaLink="true">http://forexforums.dailyfx.com/java-trading-api-support/106422-current-gross-profit-loss-position.html</guid>
		</item>
		<item>
			<title>Server Time</title>
			<link>http://forexforums.dailyfx.com/java-trading-api-support/101875-server-time.html</link>
			<pubDate>Thu, 10 Sep 2009 14:23:12 GMT</pubDate>
			<description>Hi everybody 
 
Is there a simple way to obtain...</description>
			<content:encoded><![CDATA[<div>Hi everybody<br />
<br />
Is there a simple way to obtain Server Time using the API?<br />
<br />
Thanks, <br />
Aldo H.</div>

]]></content:encoded>
			<category domain="http://forexforums.dailyfx.com/java-trading-api-support/">Java Trading API Support</category>
			<dc:creator>cilufarag</dc:creator>
			<guid isPermaLink="true">http://forexforums.dailyfx.com/java-trading-api-support/101875-server-time.html</guid>
		</item>
		<item>
			<title>Build 218 and fxmsg.properties</title>
			<link>http://forexforums.dailyfx.com/java-trading-api-support/100933-build-218-fxmsg-properties.html</link>
			<pubDate>Mon, 07 Sep 2009 03:56:35 GMT</pubDate>
			<description>Hi, build 218 seemed to look for file...</description>
			<content:encoded><![CDATA[<div>Hi, build 218 seemed to look for file fxmsg.properties during IGateway.login():<br />
<br />
Sep 7, 2009 11:10:02 AM com.fxcm.messaging.ConnectionManagerEx &lt;clinit&gt;<br />
SEVERE: <br />
java.lang.Exception: Could not open stream to file: fxmsg.properties<br />
        at com.fxcm.util.Util.loadProperties(Util.java:140)<br />
        at com.fxcm.messaging.ConnectionManagerEx.&lt;clinit&gt;(Co  nnectionManagerEx.j<br />
ava:102)<br />
        at com.fxcm.internal.transport.FXCMGateway.login(FXCM  Gateway.java:255)<br />
<br />
so I copied it from directory trading_sdk/fxcm-api to avoid the above message. I am not familiar with the contents of the file, though. Is there anything I should know, or just copy it and forget?<br />
<br />
Tatsuo</div>

]]></content:encoded>
			<category domain="http://forexforums.dailyfx.com/java-trading-api-support/">Java Trading API Support</category>
			<dc:creator>tanatsuk</dc:creator>
			<guid isPermaLink="true">http://forexforums.dailyfx.com/java-trading-api-support/100933-build-218-fxmsg-properties.html</guid>
		</item>
		<item>
			<title>How to obtain Pip Cost?</title>
			<link>http://forexforums.dailyfx.com/java-trading-api-support/100205-how-obtain-pip-cost.html</link>
			<pubDate>Thu, 03 Sep 2009 15:09:30 GMT</pubDate>
			<description>Hi everybody, 
Is there a way to obtain currency...</description>
			<content:encoded><![CDATA[<div>Hi everybody,<br />
Is there a way to obtain currency pair 'pip cost' using this api ??<br />
<br />
Thanks a lot<br />
Aldo H.</div>

]]></content:encoded>
			<category domain="http://forexforums.dailyfx.com/java-trading-api-support/">Java Trading API Support</category>
			<dc:creator>cilufarag</dc:creator>
			<guid isPermaLink="true">http://forexforums.dailyfx.com/java-trading-api-support/100205-how-obtain-pip-cost.html</guid>
		</item>
		<item>
			<title>Upgrade to Java 1.5</title>
			<link>http://forexforums.dailyfx.com/java-trading-api-support/96879-upgrade-java-1-5-a.html</link>
			<pubDate>Fri, 21 Aug 2009 16:22:36 GMT</pubDate>
			<description>FXCM is looking to upgrade to Java 1.5</description>
			<content:encoded><![CDATA[<div>FXCM is looking to upgrade to Java 1.5</div>

]]></content:encoded>
			<category domain="http://forexforums.dailyfx.com/java-trading-api-support/">Java Trading API Support</category>
			<dc:creator>FXCM Help</dc:creator>
			<guid isPermaLink="true">http://forexforums.dailyfx.com/java-trading-api-support/96879-upgrade-java-1-5-a.html</guid>
		</item>
		<item>
			<title>Obtain current equity of account</title>
			<link>http://forexforums.dailyfx.com/java-trading-api-support/95889-obtain-current-equity-account.html</link>
			<pubDate>Tue, 18 Aug 2009 16:15:20 GMT</pubDate>
			<description>Hi everyone, 
Does anyone knows which report or...</description>
			<content:encoded><![CDATA[<div>Hi everyone,<br />
Does anyone knows which report or function to use to obtain current equity of account?<br />
<br />
e.g. for current balance i use 'CollateralReport.getCashOutstanding'<br />
<br />
Thanks a lot,<br />
Aldo -.</div>

]]></content:encoded>
			<category domain="http://forexforums.dailyfx.com/java-trading-api-support/">Java Trading API Support</category>
			<dc:creator>cilufarag</dc:creator>
			<guid isPermaLink="true">http://forexforums.dailyfx.com/java-trading-api-support/95889-obtain-current-equity-account.html</guid>
		</item>
		<item>
			<title>requestClosedPositions</title>
			<link>http://forexforums.dailyfx.com/java-trading-api-support/94379-requestclosedpositions.html</link>
			<pubDate>Wed, 12 Aug 2009 06:56:15 GMT</pubDate>
			<description>about requestClosedPositions method, 
 
The doc...</description>
			<content:encoded><![CDATA[<div>about requestClosedPositions method,<br />
<br />
The doc says &quot;request for the last 30 closed positions with supplied login id &quot;<br />
<br />
but I only can get the closed positions on latest trading day, why?</div>

]]></content:encoded>
			<category domain="http://forexforums.dailyfx.com/java-trading-api-support/">Java Trading API Support</category>
			<dc:creator>cmctrader</dc:creator>
			<guid isPermaLink="true">http://forexforums.dailyfx.com/java-trading-api-support/94379-requestclosedpositions.html</guid>
		</item>
		<item>
			<title>Request for an entry order?</title>
			<link>http://forexforums.dailyfx.com/java-trading-api-support/92548-request-entry-order.html</link>
			<pubDate>Tue, 04 Aug 2009 20:35:41 GMT</pubDate>
			<description>Is there a way to request for an specific entry...</description>
			<content:encoded><![CDATA[<div>Is there a way to request for an specific entry order?<br />
For position i use: RequestForPositions.<br />
<br />
Thanks a lot,<br />
Aldo -.</div>

]]></content:encoded>
			<category domain="http://forexforums.dailyfx.com/java-trading-api-support/">Java Trading API Support</category>
			<dc:creator>cilufarag</dc:creator>
			<guid isPermaLink="true">http://forexforums.dailyfx.com/java-trading-api-support/92548-request-entry-order.html</guid>
		</item>
		<item>
			<title>ClientTester login problem</title>
			<link>http://forexforums.dailyfx.com/java-trading-api-support/89556-clienttester-login-problem.html</link>
			<pubDate>Thu, 23 Jul 2009 17:54:17 GMT</pubDate>
			<description><![CDATA[Hi, I'm just getting started with the Java API...]]></description>
			<content:encoded><![CDATA[<div>Hi, I'm just getting started with the Java API and I have a problem logging in to the FXCM servers using my demo account. Here is the error message I keep getting when I try to run the ClientTester program using the required parameters ( MyuserID, Mypassword, DEMO, host) like what is used in the example Test batch file. I get the same error message when I try to run the test batch files too.  Thanks, Roy<br />
<br />
client: start logging in<br />
com.fxcm.GenericException: ConectionManager.getHostDescriptor: Hosts Descriptor &quot;DEMO&quot; is not found.<br />
    at com.fxcm.messaging.util.HostReader.read(HostReader  .java:95)<br />
    at com.fxcm.messaging.util.UniversalUserSession.loadS  tationDescriptor(UniversalUserSession.java:413)<br />
    at com.fxcm.internal.transport.FXCMGateway.login(FXCM  Gateway.java:269)<br />
    at ClientTester.main(ClientTester.java:196)<br />
<br />
Process completed.</div>

]]></content:encoded>
			<category domain="http://forexforums.dailyfx.com/java-trading-api-support/">Java Trading API Support</category>
			<dc:creator>10SigFX</dc:creator>
			<guid isPermaLink="true">http://forexforums.dailyfx.com/java-trading-api-support/89556-clienttester-login-problem.html</guid>
		</item>
	</channel>
</rss>
