#44 movied primitive stock algorithms from factors.primitive to indices.primitive algorithms