This script searches trade requests in game log file. The trade request is like "Hi, I'd like to buy your ...". It is not very accurate since there could be various tricky combinations, but could show you mostly correct list of trades you done in the past. Text file is parsed locally on your system and not offloaded to any servers.
File location: [game install folder]/logs/Client.txt