Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
Level 2 with "odd" data http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=65&t=153 |
Page 1 of 1 |
Author: | [infodragon] [ Tue 26 Aug, 2008, 20:37 ] |
Post subject: | Level 2 with "odd" data |
public void onTick(Instrument instrument, ITick tick) throws JFException { Using the above code I randomly get 1 extra entry than is shown in the lvl 2 data on the platform. Specificualy with the EUR/USD these extras have 1.25 volume entry for the Ask and 100 volume for the Bid. These seem to be random and the inconsistantcy is a bit troubling. $100,000,000 showing up randomly on the lvl 2 data Any ideas? Edit: had bid/ask reversed |
Author: | [infodragon] [ Tue 26 Aug, 2008, 23:47 ] |
Post subject: | Re: Level 2 with "odd" data |
I may have "found" the problem... for eurusd the price is currently roughly 1.4637. The 100 Lot ($100,000,000) bid is at 1.445. Is it possible this is ligitmate liquidity way out there that the JForex GUI is filtering because the price is beyond a constraint? The Ask is at 1.4888, equally not represented by the GUI's Level 2 summary. Is this the answer or is there something else going on? It still appears randomly in each tick. |
Author: | API Support [ Wed 27 Aug, 2008, 11:02 ] |
Post subject: | Re: Level 2 with "odd" data |
You are right. The Dukascopy Java Platform displays the first 10 best offers. But actually, there might be more than 10 offers. The API is providing full access to the Dukascopy Market Depth. There is an example of service, providing the full Market Depth: https://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=7&t=156 Anyway, it is a very rare situation when someone put a BID \ OFFER order in Market Depth out of real Market price. Usually it is used as an additional control in custom strategy. |
Page 1 of 1 |