Dukascopy
 
 
Wiki JStore Search Login

JFOREX-3218 depth missing with latest jforex api update?
 Post subject: JFOREX-3218 depth missing with latest jforex api update? Post rating: 0   New post Posted: Thu 15 Sep, 2011, 07:56 

User rating: 0
Joined: Thu 15 Sep, 2011, 07:48
Posts: 4
Location: United States,
I just tried updating to the latest version of the jforex api, and in the onTick function, tick.getBids() and tick.getAsks() only seems to return full depth the first time it is called after an asset is subscribed. All subsequent calls return only one level deep (the top level). Unless there is some new asset subscription modifier I'm missing to control the depth received, I assume this is some sort of bug with the latest api release, since the previous version I'm using still works fine. Appreciate any help / insight that can be provided on this. Thank you.

public void onTick(Instrument instrument, final ITick tick) throws JFException {
context.getConsole().getOut().println(tick.getAsks().length);
}

returns (same for bids and asks):
10
1
1
1
1
1
...


 
 Post subject: Re: JFOREX-3218 depth missing with latest jforex api update? Post rating: 0   New post Posted: Wed 21 Sep, 2011, 21:09 

User rating: 0
Joined: Thu 15 Sep, 2011, 07:48
Posts: 4
Location: United States,
just checking in on this issue - haven't seen a response yet from dukascopy support. thanks


 
 Post subject: Re: JFOREX-3218 depth missing with latest jforex api update? Post rating: 0   New post Posted: Thu 22 Sep, 2011, 15:26 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
The issue has been registered and will be fixed with the next release of JForex API.


 

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