adding trailing for buy and sell