1. record certificate prices too
2. Assume the time interval between two transaction batches is
   a martingale. Use this interval as the waiting time for the next
   batch.