Support Board
Date/Time: Fri, 22 Nov 2024 08:20:37 +0000
Post From: Missing and incorrect orders from IB
[2013-04-25 17:35:37] |
User76625 - Posts: 49 |
I noticed today that I had an entry order that filled fine, but then my attached stop was for 1200 shares instead of the 1643 that I was filled on. The log also showed 1643 filled, then showed a stop order for 1200 shares. I'm using a hard coded attached stop order in my code. I also had a problem minutes later, on the same symbol, where my entry order was sent to IB, but my stop never was. Eventually my stop was hit, but the trade remains open on IB. Here's the lines from the trade log: ActivityType DateTime Symbol OrderActionSource InternalOrderID ServiceOrderID OrderType Quantity BuySell Price Price2 OrderStatus FillPrice FilledQuantity AccountInfo OpenClose ParentInternalOrderID PositionQuantity FillExecutionServiceID Order 2013-04-25 11:22:06.000 CF Synchronized Internal Position to current Service Position. Current Position quantity: -940 Unspecified Order 2013-04-25 11:24:27.000 CF Canceling due to no order update 562371 1 Market 940 Sell Pending Cancel DU157477 Open -940 Order 2013-04-25 11:24:27.001 CF Canceling due to no order update 562371 1 Market 940 Sell Canceled DU157477 Open -940 Order 2013-04-25 11:24:27.002 CF Canceling child orders of internal order ID 562371 562372 Trailing Stop Buy 193.50 Pending Cancel DU157477 Close 562371 -940 Order 2013-04-25 11:24:27.003 CF Canceling child orders of internal order ID 562371 562372 Trailing Stop Buy 193.50 Canceled DU157477 Close 562371 -940 |