Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 16:14:20 +0000



Post From: SC disconnect from IB once I open the chart with the HKFE stock futures symbol

[2018-12-11 02:54:16]
User189399 - Posts: 43
I 'd like to trade HKFE stock futures with IB TWS and add the new symbol 700-FUT-201812-HKFE-100-HKD in SC. Once I open the chart of it, SC disconnected automatically from IB with the log below.

I have sent the log of SC and TWS to IB for troubleshooting. Below is the reply from IB:-
Appreciated if SC can find out the cause and solve this issue.


IB reply messages:-
(Thank you for the update, after reviewing TWS and the API Log's I can confirm the connection is not being closed by TWS. Log's confirm that the only disconnect occurring between Sierra Charts and TWS are originating from Sierra Charts directly while TWS remains running.

Also confirms there are many rejects occurring because the contract parameters being specified from Sierra Charts are incorrect. It would be advise to consult with Sierra Charts on how to properly configure the contract parameters being sent to IB as they seem to be incorrect.)




SC log for ref:-
Interactive Brokers | Starting real-time market data updates for: 700-FUT-201812-HKFE-HKD-100. ID: 11 | 2018-12-10 20:04:12
Interactive Brokers | Subscribing to real-time True Data for symbol: 700 SecurityType: FUT Exchange: 100 Currency: | 2018-12-10 20:04:12
Interactive Brokers | Subscribing to Symbol: 700, SecurityType: FUT, Expiration: 201812, Exchange: 100, Primary Exchange: , Currency: , Multiplier: , CallPut: HKD, Strike: HKFE, LocalSymbol: , TradingClass: | 2018-12-10 20:04:12
Interactive Brokers | Requesting security definition data for: 700-FUT-201812-HKFE-HKD-100. ID: 11 | 2018-12-10 20:04:12
Interactive Brokers | Using primary service for historical data for 700-FUT-201812-HKFE-HKD-100 | 2018-12-10 20:04:12
Socket (178) | Received socket Close event. | 2018-12-10 20:04:12
Socket (178) | Socket gracefully closed by remote side. | 2018-12-10 20:04:12
Intraday data recording state for symbol 700-FUT-201812-HKFE-HKD-100 is set to download 'Pending'. | 2018-12-10 20:04:12
Socket (178) | Close event error. Windows error code 10053: An established connection was aborted by the software in your host machine. | 2018-12-10 20:04:12
Socket (178) | Received socket Close event. | 2018-12-10 20:04:12
Message from IB: Error reading request:Message id 11. Unable to parse data. java.lang.NumberFormatExceptio n: For input string: "HKFE". IB Error Code: 320. Request ID: 11. Symbol: 700-FUT-201812-HKFE-HKD-100. | 2018-12-10 20:04:12
Socket (178) | Initiating close of socket by core. | 2018-12-10 20:04:12
Connection to the external service has been lost. | 2018-12-10 20:04:12
Socket (178) | Graceful close received or receive error. Shutdown complete. Closing socket now. | 2018-12-10 20:04:12
Socket (178) | Closed. | 2018-12-10 20:04:12
Canceling historical data download request for 700-FUT-201812-HKFE-HKD-100 Intraday data. | 2018-12-10 20:04:12
Removed historical data download ID 7 | 2018-12-10 20:04:12
Interactive Brokers | Disconnected. | 2018-12-10 20:04:12