Trade optimism is pushing markets up despite weak factory data in the UK, the eurozone and China