User rating: 2
Joined: Thu 01 Mar, 2012, 17:17 Posts: 42
I'm interested in getting information about market depth for a strategy I'm writing. But when I use your code for full market depth (https://www.dukascopy.com/wiki/en/devel ... rket-depth) it mostly displays just the first line of the market ladder, with occasional flashes of the complete data. Is this intentional? And how can I access the data for deeper levels?
Described method returns all available at the moment market depth data. Number of lines in market depth depends on the liquidity available on the specific instrument.
Kind regards, Support Team.
bunyip
Post subject: Re: Full market depth problem
Post rating: 0
Posted: Tue 17 Dec, 2019, 18:28
User rating: 2
Joined: Thu 01 Mar, 2012, 17:17 Posts: 42
The panel on the display at the left hand edge of the screen invariably displays at least 5 levels even when the 'Full market depth' tab is only displaying one. Moreover, the display panel remains just as it is even when the 'Full market depth' tab occasionally displays about 10 levels, so I'm afraid I don't think the method can be working as you wish.
Example from JForex Wiki shows data for all subscribed instruments. Tick data for each instrument contains different amount of rows with ask/bid prices and volumes.
See fixed example FullMarketDepth.java which displays data for only one instrument, selected in strategy parameters. For EUR/USD there are about 10 rows in table for each tick.
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.