Hi,
I guess, the API does not yet support custom periods to retrieve bars from IHistory?
Is that right, or am I missing something?
I've tried to retrieve 30sec bars with the following code:
Period period = Period.createCustomPeriod(Unit.Second, 30);
history.getBar(instrument, period, offerSide, shift);
and the call was throwing the following exception:
Quote:
com.dukascopy.api.JFException: Could not load bar for instrument [EUR/USD], period [30 Secs], side [Ask], start time [2009.12.09 23:59:30 000], current bar start time [2009.12.10 00:00:00 000]
If the IHistory API is not allowing to retrieve customPeriods with the current release, when about can we expect this functionality to be available?
Thanks for a feedback!
Best regards,
RR.