improve logging
cast trade to string for writing