Write A Python Program For Array Rotation Algorithmic Trading