In the top right corner of the Portfolio window, click on the "Filter" icon and uncheck the box that says "Show zero position rows". Close the window and your closed orders will disappear.
Additional Information
- Portfolio window available in our TWS User Guides