new implementation for strategy.TradeIfProfitable