Dukascopy
 
 
Wiki JStore Search Login

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

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

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

Is the a slippage issue?
 Post subject: Is the a slippage issue? Post rating: 0   New post Posted: Wed 28 Dec, 2011, 16:57 

User rating: 0
Joined: Tue 22 Nov, 2011, 12:47
Posts: 130
Location: United States,
hi Support,

Sorry if it is a newbie question.

I am trading in DEMO environment and about 0.5 hour ago I got this strange trade - can you please explain how can I get a price which is not on the Bid or the Ask Stream?

Also - can you please advise on how to protect from such incidents in code?

Here is a screen shot of the trade (EUR-USD, tick graph):

Image

Attachment:
Slippage.png [17.39 KiB]
Downloaded 423 times


 
 Post subject: Re: Is the a slippage issue? Post rating: 0   New post Posted: Thu 29 Dec, 2011, 14:02 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
As you see the market order gets filled and closed for the last available tick price, not according to the line that connects the prices:
Image
In your particular case, it looks that for some reason (market volume, server or feed lag or other) the order was not closed by the latest Ask price, but for the price of third to last tick.


Attachments:
sellOrderWithTicks.png [8.33 KiB]
Downloaded 412 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: Is the a slippage issue? Post rating: 0   New post Posted: Fri 30 Dec, 2011, 05:01 

User rating: 0
Joined: Tue 22 Nov, 2011, 12:47
Posts: 130
Location: United States,
hi Support,

Another possible explanation - please correct me if I'm wrong :

Could it be that at the time the stop loss was triggered (a market order execution) - there was no volume at the referenced ASK price hence the order was filled from a deeper level in the order book? --> Slippage?


 
 Post subject: Re: Is the a slippage issue? Post rating: 0   New post Posted: Fri 30 Dec, 2011, 08:29 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
cb888trader wrote:
Could it be that at the time the stop loss was triggered (a market order execution) - there was no volume at the referenced ASK price hence the order was filled from a deeper level in the order book?
That was what we referred to as "market volume" and you elaborated on this. Since precise system (some technical issues), market (volume) and order data at the particular moment are unknown, we can only speculate about the cause. For general case see order execution principles at Platform Manual/Execution process section in JForex wiki https://www.dukascopy.com/wiki/.


 

Jump to:  

cron
  © 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