To enter a pool trade not in tick() but later, I would simply sum up the lots in tick() and then enter later the trade.