Dukascopy
 
 
Wiki JStore Search Login

Remote mode: existing positions are not recognized
 Post subject: Remote mode: existing positions are not recognized Post rating: 0   New post Posted: Tue 22 Oct, 2013, 11:14 
User avatar

User rating: 1
Joined: Thu 24 Nov, 2011, 09:09
Posts: 36
Location: FranceFrance
Since the last Sunday 2013-10-20, the strategies running in the remote mode are subject to a severe bug: they do not list exisiting positions.
The same issue has been reported here : www.dukascopy.com/swiss/english/forex/j ... 16&t=50210

The essential of the code in the attached file is as follows:

- subscribe to EUR/USD, check if it's ok;
- ask the engine to provide the list of positions (whatever their status);
- print the number of positions, N;

N is 0 in the remote mode while it is not the case!

-- NB: In the local mode, all positions are listed and reported. ---

A second bug in the remote mode is the wrong time of a bar if called in <onStart> : it returns 1969 for the year, but returns correct time when called <onBar>.
Once again, in local mode, everything runs just fine.

In advance, thanks for fixing it or helping to find where I am wrong.

almc


Attachments:
acRemoteTests.java [2.7 KiB]
Downloaded 242 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Remote mode: existing positions are not recognized Post rating: 0   New post Posted: Tue 22 Oct, 2013, 15:25 

User rating: 0
Joined: Thu 25 Jul, 2013, 21:54
Posts: 7
It's the same type of bug that affect my strategies. I also reported it in this post:
viewtopic.php?f=16&t=50212

It's a very critical bug and allmost all my strategies now doesn't work anymore in remote run!

Please can you let us know if you are taking care of this issue and how much time you can need to fix it?

Kind regards,
Riccardo


 
 Post subject: Re: Remote mode: existing positions are not recognized Post rating: 0   New post Posted: Tue 22 Oct, 2013, 20:05 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
The issue is under investigation.


 

Jump to:  

  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com