From Trader Workstation(TWS), you can only view trades history up to 7 days.
- Click on New Window and then search for Trade log.
- Select your account and select Last 7 days.
- Don't forget to check Save this selection.
For older trades, you need to use Account -> Activity Statement.