Just my 2cents.
I am running some 4nm AC stepper motors with unshielded cable and when I tried to hook up some limit switches they would trip constantly even when the signal wire came within a several inches of the motor wire. I suggest shielded cable or at least run the signal and motor wires completely separate from each other.
It may not be an issue with DC steppers though. testing will confirm.
I am looking for some shielded wire at a descent price if anybody knows where to get some.