moved tradewindow to own file