Wave-CAIPI is an novel 3D imaging technique with corkscrew trajectory in k-space to reduce g-factor penalty and speed up MRI acquisitions. The sinusoidal gradient parameters of Wave-CAIPI, amplitude and cycles, play an important role since they determine the point spread function of the trajectory and thus the final reconstruction. However, how to choose the optimal sinusoidal gradient parameters which leads to the minimal g-factor has not been exploited. In this work, we theoretically analyzed the influence of the sinusoidal gradient parameters on g-factor. An optimization algorithm which can be automatically conducted is then proposed to optimize these parameters for achieving minimal g-factor penalty. The simulations show that using the optimized sinusoidal gradient parameters can achieve lower g-factor penalty in Wave-CAIPI reconstructions.