Login Page - Create Account

Support Board


Date/Time: Wed, 02 Jul 2025 06:37:13 +0000



Post From: Flattening position without orders - PT doesnt reset LastFillDateTime nor LastExitDateTime

[2016-05-10 09:29:38]
wat - Posts: 67
PT - Target order.

My problem is that in some cases, when connected to IB on realtime, the condition for checking that there is position without orders doesnt work, because:

Target order dissapears and is being filled
LastFillDateTime is not reset so I have no idea that its being filled
Position gets flattened and then filled getting from Long position to Short one (or other way around).

So I am trying to find out whenever this is problem in sierra, ib or there is other working way to check for situation when there is position without target or stop order.