Login Page - Create Account

Support Board


Date/Time: Thu, 26 Dec 2024 02:03:26 +0000



Post From: Flatten in SC not totally working in IB/TWS

[2015-11-02 02:21:35]
John M - Posts: 171
ActivityType  DateTime  Symbol  OrderActionSource  InternalOrderID  ServiceOrderID  OrderType  Quantity  BuySell  Price  Price2  OrderStatus  FillPrice  FilledQuantity  TradeAccount  OpenClose  ParentInternalOrderID  PositionQuantity  FillExecutionServiceID
Order  2015-11-01 17:59:16.000    Requesting all orders from trading service                Unspecified      None        
Order  2015-11-01 18:05:52.000    Trade Simulation Mode has been disabled                Unspecified      None        
Order  2015-11-01 18:17:33.000    Requesting all orders from trading service                Unspecified      None        
Order  2015-11-01 18:18:17.000    Requesting all orders from trading service                Unspecified      None        
Order  2015-11-01 18:44:17.000    Requesting all orders from trading service                Unspecified      None        
Order  2015-11-01 18:51:55.000    Requesting all orders from trading service                Unspecified      None        
Order  2015-11-01 19:10:32.000    Trade Simulation Mode has been enabled                Unspecified      None        



It's done this before and that's why I was checking it during low volume overnite hours tonight.

this is the TWS trade log

  BOT  1  ES  DEC15 Futures   2068.00  USD  GLOBEX  18:19:39    MoFo  null  2.02  
  SLD  1  ES  DEC15 Futures   2068.25  USD  GLOBEX  18:44:58    MoFo  null  2.02  

the SLD at 18:44:58 is the sale/close after it did not respond to the Flatten command except for killing the open orders for target price and stop.
The BOT was executed from the order sent by SC,

Flatten is as previously described, it kills the orders but doesn't close the postitions, must go into TWS to do that.
I've seen this before.

This particular test was a Buy at market, Target of 8 ticks, Stop of 4 Ticks; I just wanted to verify the oddity I had previously seen on it not closing positions.