buy/sell switch for past orders