How the polymorphic momentum investment strategy works