It still doesn't match your description. The latest price is priceC(0). run() is called when a bar closes.

Also, try rounding OrderLimit to the nearest PIP, and if that doesn't work, contact support.