Python Program For Lagrange Interpolation Method Algorithmic Trading