Add date to trade history

Fixes #1038.