API Support wrote:
That seems to be a bit redundant, since onTick will be called at every tick, and the ITick object received as parameter is the latest tick on the Instrument.
The "tick" object is the last tick. To get the bid and ask, one has to refer tick.getBid() and tick.getAsk() .
Later edit:
Now I understand better. You must also subscribe EUR/USD and store latest EUR/USD tick in an Itick variable
if (instrument== Instrument.EURUSD) { latestEURUSDtick=tick }
Of course, that would require a null check.