Support Board
Date/Time: Fri, 29 Nov 2024 12:42:36 +0000
Post From: Siearra chart IBKR : SC auto flattening order after few seconds but ibkr has live position
[2023-02-10 20:48:37] |
HerculesT41 - Posts: 12 |
Hi SC Team, I am running SC+AMP cobination without any issues for couple of years. Today i installed a second instance of SC and intigrated it with IBKR trading service with equity data from SC totalviewNASDQ. I am running ibkr gatway or tws in background. Most part things are fine except one issue. after entering ordre (simple market order for AAPL, no stop or targets etc.), SC trade windows auto flattened position within seconds and shows that position as POS QTY : Flat. however the position window still shows position and ibkr TWS has actual positions. below log message appars after position is flattened: Trading message from IB: Order Event Warning:Attribute 'Outside Regular Trading Hours' is ignored based on the order type and destination. PlaceOrder is now being processed. Error Code: 2109. ServiceOrderID: 7. InternalOrderID: 24745. | 2023-02-10 15:17:44.474 Interactive Brokers | Requesting Open orders. | 2023-02-10 15:17:59.511 Interactive Brokers | Sent reqAutoOpenOrders request | 2023-02-10 15:17:59.511 Interactive Brokers | Received Open orders end message. | 2023-02-10 15:17:59.517 this issue is similer to the following theread(in terms of error message) but mine is for equity (not futures): orders disappear/not transmitted to IB above thread is resolved by having latest version of tws and SC giving some fix for futures symbol recognization(not applicable to equity). Based on what i understood from other ibkr intigration issues with SC , i checked trade window for flattening at set time, i checked global profit/loss etc..but nothing worked. based on other issues in self help, my understanding is that SC is not able to extract some information from tws but i am not able to pinpoint the same. can you please advice on same Date Time Of Last Edit: 2023-02-11 00:54:44
|