Login Page - Create Account

Support Board


Date/Time: Fri, 10 Jan 2025 20:28:48 +0000



Post From: Initialization Error

[2016-06-14 18:54:34]
User713273 - Posts: 409
Hi, please see below Trade Activity Log. When I sell out of a position in a live account I seem to update the internal position quantity to -1 prior to filling the order. I understand we had issues communicating within IB's API and SC and I have to wonder if this is at all related. Im currently using 1 contract when testing in live account.

This does not occur when using simulation account.

Is this normal protocol when handling orders?

ActivityType  DateTime  Symbol  OrderActionSource  InternalOrderID  ServiceOrderID  OrderType  Quantity  BuySell  Price  Price2  OrderStatus  FillPrice  FilledQuantity  TradeAccount  OpenClose  ParentInternalOrderID  PositionQuantity  FillExecutionServiceID

Order  2016-06-14 06:36:40.196  AAPL-OPT-20160617-98-C  Synchronized Internal Position to current Service Position. Current Position quantity: 0                Unspecified      U1644808        
Fill  2016-06-14 06:36:32.193  AAPL-OPT-20160617-98-C-SMART-100-USD  IB order fill (execution)  116395  10949  Limit  1  Sell  0.98    Filled  0.98  1  U1644808  Open    -1  00014980.575fec4f.01.01
Order  2016-06-14 06:36:32.192  AAPL-OPT-20160617-98-C  Updated Internal Position Quantity to -1                Unspecified      U1644808        
Order  2016-06-14 06:36:32.191  AAPL-OPT-20160617-98-C-SMART-100-USD  IB order fill (execution)  116395  10949  Limit  1  Sell  0.98    Filled  0.98  1  U1644808  Close    1

Again thx for the time. Adam