fcec071a08
using the trade open-date may fail in case of several trade-entries spread over a longer timeperiod. closes #6551