Averaging in trading