Just confine the stress/flex/motion on the wire to a stretch between clamps, and don't allow any stress/flex/motion on any wire at the terminal end.
In other words, clamp (adel clamp, what have you) the wire somewhere a few inches from the terminal, clamped to something on the engine. That way there will be no stress imparted on the alternator end of the wire.
Then clamp the other end of the wire, a few inches from the other terminal end, clamped to the engine mount or something stationary relative to the engine.
That way the stress on the wire is confined to the stretch between clamps, and the terminal ends will experience no stress.
My 2 AWG starter wire broke at the contactor terminal because I hadn't properly clamped the wire in
two places to eliminate the stress/flex at both ends. Eventually it will get ya. See what happened to mine:
And here's how I fixed it:
The key was clamping that wire in two places.
Hope this helps.