interface.py roi calculation skips on <= duration the correct selection is therefore trade_duration > x.