Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

Full market depth problem
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=65&t=57230
Page 1 of 1

Author:  bunyip [ Tue 17 Dec, 2019, 13:22 ]
Post subject:  Full market depth problem

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?

Many thanks, Bunyip

Author:  vadim_berezhnoj [ Tue 17 Dec, 2019, 18:03 ]
Post subject:  Re: Full market depth problem

Hello.

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.

Author:  bunyip [ Tue 17 Dec, 2019, 18:28 ]
Post subject:  Re: Full market depth problem

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.

Many thanks, Bunyip

Author:  vadim_berezhnoj [ Mon 23 Dec, 2019, 11:10 ]
Post subject:  Re: Full market depth problem

Hello.

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.

Kind regards, Support Team.

Attachments:
FullMarketDepth.java [3.22 KiB]
Downloaded 123 times

  Page 1 of 1