strategy.tradeIfPofitable is generated