new trades class to clear logic