Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Submit JForex API bug reports in this forum only.
    Submit Converter issues in Converter Issues.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

XAU/USD Slippage ?
 Post subject: XAU/USD Slippage ? Post rating: 0   New post Posted: Thu 23 Jan, 2014, 09:04 
User avatar

User rating: 9
Joined: Sun 18 Dec, 2011, 03:31
Posts: 160
Location: Egypt, Cairo
slippage doesn't work in this code : (When i test my strategy)
engine.submitOrder(12, Instrument.XAUUSD, OrderCommand.SELLSTOP, 0.000001, 1222.48, 1, 0, 1220.24);


Image


Attachments:
Error.jpg [41.59 KiB]
Downloaded 598 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: XAU/USD Slippage ? Post rating: 0   New post Posted: Thu 23 Jan, 2014, 13:19 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Please provide a full example strategy which replicates the case. If you test it in historical tester, please provide the historical tester settings. If you back-test from SDK, then please provide an example program which launches the strategy.


 
 Post subject: Re: XAU/USD Slippage ? Post rating: 0   New post Posted: Thu 23 Jan, 2014, 14:24 
User avatar

User rating: 9
Joined: Sun 18 Dec, 2011, 03:31
Posts: 160
Location: Egypt, Cairo
API Support wrote:
Please provide a full example strategy which replicates the case. If you test it in historical tester, please provide the historical tester settings. If you back-test from SDK, then please provide an example program which launches the strategy.


Attachments:
TesterMainGUIMode.java [12.98 KiB]
Downloaded 158 times
Str.java [3.24 KiB]
Downloaded 176 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: XAU/USD Slippage ? Post rating: 0   New post Posted: Thu 23 Jan, 2014, 15:49 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
We could not replicate this, we got the following prices:
ORDER_SUBMIT_OK - Order submitted order: OPENED SELLLIMIT 1.0E-6 @ 1222.48 [] 2013-12-06 00:00:00:000
 openPrice/fillPrice=1222.48000 creationTime=2013-12-06 00:00:00:000 fillTime=1970-01-01 00:00:00:000
ORDER_FILL_OK - Order filled order: FILLED SELL 1.0E-6 @ 1226.113 [] 2013-12-06 00:00:00:000
 openPrice/fillPrice=1226.11300 creationTime=2013-12-06 00:00:00:000 fillTime=2013-12-06 00:00:00:000
ORDER_CLOSE_OK - Order closed order: CLOSED SELL 1.0E-6 @ 1226.113 [ORDER_CLOSED_BY_TP] 2013-12-06 13:30:11:845
 openPrice/fillPrice=1226.11300 creationTime=2013-12-06 00:00:00:000 fillTime=2013-12-06 00:00:00:000
See the program we launched in attachments


Attachments:
TesterMainGUIModePast.java [13.82 KiB]
Downloaded 199 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: XAU/USD Slippage ? Post rating: 0   New post Posted: Thu 23 Jan, 2014, 19:12 
User avatar

User rating: 9
Joined: Sun 18 Dec, 2011, 03:31
Posts: 160
Location: Egypt, Cairo
API Support wrote:
We could not replicate this, we got the following prices:
ORDER_SUBMIT_OK - Order submitted order: OPENED SELLLIMIT 1.0E-6 @ 1222.48 [] 2013-12-06 00:00:00:000
 openPrice/fillPrice=1222.48000 creationTime=2013-12-06 00:00:00:000 fillTime=1970-01-01 00:00:00:000
ORDER_FILL_OK - Order filled order: FILLED SELL 1.0E-6 @ 1226.113 [] 2013-12-06 00:00:00:000
 openPrice/fillPrice=1226.11300 creationTime=2013-12-06 00:00:00:000 fillTime=2013-12-06 00:00:00:000
ORDER_CLOSE_OK - Order closed order: CLOSED SELL 1.0E-6 @ 1226.113 [ORDER_CLOSED_BY_TP] 2013-12-06 13:30:11:845
 openPrice/fillPrice=1226.11300 creationTime=2013-12-06 00:00:00:000 fillTime=2013-12-06 00:00:00:000
See the program we launched in attachments

Sir you change my order command in source code from SELLSTOP to SELLLIMIT so the result is different
in your code :engine.submitOrder("Test1", instrument1, OrderCommand.SELLLIMIT, 0.000001, 1222.48, 1, 0, 1220.24);

MyCode :engine.submitOrder("Test1", instrument1, OrderCommand.SELLSTOP, 0.000001, 1222.48, 1, 0, 1220.24);

Image


 
The Best Answer  Post subject: Re: XAU/USD Slippage ? Post rating: 0   New post Posted: Fri 24 Jan, 2014, 10:14 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Yes you are right, we managed to replicate this now. The issue has been registered.


 
 Post subject: Re: XAU/USD Slippage ? Post rating: 0   New post Posted: Wed 05 Feb, 2014, 09:58 
User avatar

User rating: 9
Joined: Sun 18 Dec, 2011, 03:31
Posts: 160
Location: Egypt, Cairo
API Support wrote:
Yes you are right, we managed to replicate this now. The issue has been registered.
Issue is still exist, Is there any expected time plan for resolving this problem soon ?


 
 Post subject: Re: XAU/USD Slippage ? Post rating: 1   New post Posted: Thu 27 Mar, 2014, 22:50 
User avatar

User rating: 9
Joined: Sun 18 Dec, 2011, 03:31
Posts: 160
Location: Egypt, Cairo
API Support wrote:
Yes you are right, we managed to replicate this now. The issue has been registered.

It is long time from last time i asked about this issue, is it still exist or solved ?
Can you please answer this question ?

Thanks you


 
 Post subject: Re: XAU/USD Slippage ? Post rating: 1   New post Posted: Sat 21 Feb, 2015, 12:19 
User avatar

User rating: 9
Joined: Sun 18 Dec, 2011, 03:31
Posts: 160
Location: Egypt, Cairo
Is there any feedback about this issue ?


 

Jump to:  

  © 1998-2025 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