Track all orders, write them to disk in a simple .txt file for markets that you specify.
.txt
See script.