|
JFOREX-3218 depth missing with latest jforex api update? |
tymorapro
|
Post subject: JFOREX-3218 depth missing with latest jforex api update? |
Post rating: 0
|
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 ...
|
|
|
|
 |
tymorapro
|
Post subject: Re: JFOREX-3218 depth missing with latest jforex api update? |
Post rating: 0
|
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
|
|
|
|
 |
API Support
|
Post subject: Re: JFOREX-3218 depth missing with latest jforex api update? |
Post rating: 0
|
Posted: Thu 22 Sep, 2011, 15:26
|
|
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.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|