Changed order of buy/sell