In Spriter I would suggest making a keyframe at the beginning of your animation, then copying it and pasting it at the end of your animation. That way your animation starts and stops at the same position, which is what you need for an animation that loops.
Another way to do it is by animating it directly in C2 with a couple of sine behaviors. I've done it that way with some good results.