How is the first trade of the sequence selected (buy or sell)?