updated trade class