Find S Algorithm Using Python For Finance