When starting a strategy from the client calling history.getBar(..) in the first onTick-call does return NULL.
Quote:
Example-call:
IBar iBar = history.getBar(Instrument.EURUSD, Period.ONE_HOUR, OfferSide.ASK, 1);
This behaviour is new. In all previous versions the very same history.getBar-calls in onTick did work smoothly.
When running the very same strategy code through the API (for example in Eclipse) and not hrought the client, the correct bars are returned by the history.getBar(..) call.
Best regards,
RR.