FXCM Forex Trading

Please use unique versions numbers

Moderator: Moderator

Please use unique versions numbers

Postby Seamus Boyle » Thu Apr 13, 2017 1:39 am

Dear Release Manager

I went to download the latest versions of "1.4.1" yesterday and surprise surprise, they have been changed again. I run md5sum on the new download compared that to four other "1.4.1" releases I had previously downloaded all with the exact same filename - ForexConnectAPI-1.4.1-Linux-x86_64.tar.gz, and yep they are all different.

Please use different version numbers for different versions.

To make matters worse, the downloads available today are not even Source compatible with the versions available when the initial 1.4.1 release announcement was made.

Where can I get the exact downloads available during November 2016?

When was IO2GSession::getReportUrl removed?
Seamus Boyle
 
Posts: 1
Joined: Tue Oct 15, 2013 8:11 pm

Re: Please use unique versions numbers

Postby mr_clean » Mon Jul 10, 2017 4:08 pm

+1 to that. A version should be set in stone and minor updates should increment the version number and also not break backward compatibility.

I am now missing these methods from the 1.4.1 Java ForexConnect API, which were available in the past in the same version:
- O2GAccountRow.getusedMargin
- O2GSession.getReportURL

Can you please bring them back or suggest viable alternatives?
mr_clean
 
Posts: 2
Joined: Mon Jul 10, 2017 3:27 pm

Re: Please use unique versions numbers

Postby Konstantin.Toporov » Thu Aug 03, 2017 4:20 pm

Sorry for the mess with the versions.
GetReportURL was removed due to security reasons.
About UsedMargin - we will investigate.
Konstantin.Toporov
 
Posts: 34
Joined: Mon Aug 31, 2015 10:16 am

Re: Please use unique versions numbers

Postby Konstantin.Toporov » Fri Aug 11, 2017 1:45 pm

GetUsedMargin - moved to the extended interface.

class IO2GAccountTableRow : public IO2GAccountRow
{
protected:
IO2GAccountTableRow();

public:

virtual double getUsedMargin() = 0;
....

(ForexConnectAPI\include\Rows\IO2GAccountRow.h)

Hope, it helps.
Konstantin.Toporov
 
Posts: 34
Joined: Mon Aug 31, 2015 10:16 am

Re: Please use unique versions numbers

Postby mr_clean » Fri Aug 11, 2017 9:19 pm

Thanks for the reply. This looks like C++; can you please tell me where it is in the Java API? It used to be O2GAccountRow.getusedMargin, but last time I checked it is no longer in the last "version" of the 1.4.1.

Also you mentioned that getReportURL was removed for security reasons. Is there any other (programmatic) alternative?

Regards
mr_clean
 
Posts: 2
Joined: Mon Jul 10, 2017 3:27 pm

Re: Please use unique versions numbers

Postby Konstantin.Toporov » Tue Aug 15, 2017 11:31 am

I attached a picture showing getUsedMargin in the help docs for Java.
About the Reports - unfortunately it is not possible in this version.
Attachments
get_used_margin.png
Konstantin.Toporov
 
Posts: 34
Joined: Mon Aug 31, 2015 10:16 am


Return to ForexConnect API

Who is online

Users browsing this forum: No registered users and 1 guest