I'm personally fine with a re-write, the way I posted it is a bit messy plus the details are a bit off.
Sidenote:
There are days where the market crashes and absolutely nothing sells, or your competitors are ruthlessly undercutting you by 10g+. Wait a while, let your auctions expire and the market will eventually fix itself.
It is not worth eating the fees to constantly re-bid at an insanely lower price, plus you may even sell a couple of them once the others are bought out.