Little update on this:
@Override
public void onFeedData(IFeedDescriptor feedDescriptor, ITimedData feedData) {
try {
IRenkoBar renko = history.getRenkoBar(instrument, feedDescriptor.getOfferSide(), feedDescriptor.getPriceRange(), 0);
IRenkoBar getin = renko.getInProgressBar();
if (getin != null)
print("last getin=%s", getin);
else
print("getin null");
}
} catch (JFException e) {
console.getErr().println(e);
e.printStackTrace();
}
}
This code always prints "getin null", so there is no way to get this inProgressBar.
Could this issue be related to
this bug, which is about the feedData is not delivering the last formed brick?