This issue might be related to the previous discussion about excess events with IB. I'm currently using IB TWS with the .8 build of NT.
I just noticed some strange messages in my output... I'm not sure of what I'm looking yet, and I'll dig deeper. But it sure *looks* like OnPositionUpdate() is being called, even when the position hasn't changed. (No orders have been processed, at all.)
My OnPositionUpdate() is currently coded to assume that *if* it is called at all, it's because an exit/entry order has just been filled... I have either gone from Flat->Long, or Long->Flat. If OnPositionUpdate() is being called for no reason at all, then.. well, I have to figure out another fix.
Any suggestions?

Comment