trade class now works for trading