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.

full market depth bug
 Post subject: full market depth bug Post rating: 0   New post Posted: Mon 30 Jan, 2012, 20:48 

User rating: -
I downloaded the code for the "full market depth" from the link below.
viewtopic.php?f=31&t=156
The returned values for both the prices and volumes were all wrong. It wasn't just wrong, the values were irradically jumping all over the place. I noticed the code was made back in 2007. I also noticed the import was directed to "com.dukascopy.api". I loaded this into the "eu-demo.dukascopy.com" platform. Is it possible that this code isn't compatible with the latest version for JForex platform?

Sincerely;
Baplo


 
 Post subject: Re: full market depth bug Post rating: 0   New post Posted: Tue 31 Jan, 2012, 09:41 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
What do you expect the strategy to do?


 
 Post subject: Re: full market depth bug Post rating: 0   New post Posted: Wed 01 Feb, 2012, 08:17 

User rating: 0
Joined: Wed 01 Feb, 2012, 08:03
Posts: 1
I was expecting the "full market depth" to be similar to the one shown on the left, but show all the active prices. Firstly. I have no idea which instrument's level2 is being shown. Secondly, the prices were flashing wildly. By wildly, I mean it was jumping between 1.0000 to 10.0000. I don't know if I used the code wrong. I downloaded code, loaded into jforex, compiled it then ran it as local. A walk-through on how to install and use this code would be very helpful.
Thank you

Sincerely;
Baplo


 
 Post subject: Re: full market depth bug Post rating: 0   New post Posted: Wed 01 Feb, 2012, 12:32 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
You need to filter ticks for the particular instrument:
https://www.dukascopy.com/wiki/#Filter_Ticks_Bars


 

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