We do not store such information in history but it is possible to capture stop loss change event:
public void onMessage(IMessage message) throws JFException {
if(message.getType().equals(IMessage.Type.STOP_LOSS_LEVEL_CHANGED)) {
System.out.println(dateToStr(message.getCreationTime()));
}
}
public String dateToStr(long time) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss") {
{
setTimeZone(TimeZone.getTimeZone("GMT"));
}
};
return sdf.format(time);
}