trading sql, taking downgrades if op