Login Page - Create Account

Support Board


Date/Time: Sun, 28 Apr 2024 18:15:10 +0000



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

[2018-12-12 07:55:21]
User189399 - Posts: 43
I have updated the SC to most uptodate version and the disconnection problem seems solved. However, I still cannot get the real-time and historical data for 700-FUT-201812-HKFE-HKD-100. As I asked IB for further investigation, they replied SC pass wrong symbol parameter to them even though I input the symbol 700-FUT-201812-HKFE-HKD-100. below is the reply from IB.
I also attached the related SC log below for your ref.

Replied by IB:-
Please note IB only processes the requests received by Sierra Charts, it is up to Sierra Charts to send the request properly to IB. With regards to historical data for Symbol = 700 it seems the wrong parameters are being sent to IB therefore the historical data request is being rejected.

symbol = 700FUT
secType = STK
exchange = SMART
currency = USD

Above are the parameters being sent to IB for the historical data request. Since they are invalid they are rejected and no data is sent back.

Below is an example of the correct parameters being sent to IB when requesting streaming market data, contract details and real time bars for the same instrument:

symbol = 700
secType = FUT
LastTradeDateOrContractMonth = 20181228
exchange = HKFE
currency = HKD

SC log for your ref:
Interactive Brokers | Starting real-time market data updates for: 700-FUT-201812-HKFE-HKD-100. ID: 1 | 2018-12-11 14:11:24
Interactive Brokers | Subscribing to real-time True Data for symbol: SecurityType: Exchange: Currency: | 2018-12-11 14:11:24
Interactive Brokers | Subscribing to Symbol: (Using local symbol), SecurityType: , Expiration: , Exchange: , Primary Exchange: , Currency: , Multiplier: , CallPut: , Strike: , LocalSymbol: , TradingClass: | 2018-12-11 14:11:24
Interactive Brokers | Requesting security definition data for: 700-FUT-201812-HKFE-HKD-100. ID: 1 | 2018-12-11 14:11:24
Interactive Brokers | Using primary service for historical data for 700-FUT-201812-HKFE-HKD-100 | 2018-12-11 14:11:24
Intraday data recording state for symbol 700-FUT-201812-HKFE-HKD-100 is set to download 'Pending'. | 2018-12-11 14:11:24
Delaying start of download for 700-FUT-201812-HKFE-HKD-100 | 2018-12-11 14:11:24
Message from IB: Error validating request:-'bJ' : cause - Please enter exchange. IB Error Code: 321. Request ID: 1. Symbol: 700-FUT-201812-HKFE-HKD-100. | 2018-12-11 14:11:24
Message from IB: Error validating request:-'bL' : cause - The symbol or the local-symbol or the security id must be entered. IB Error Code: 321. Request ID: 1. Symbol: 700-FUT-201812-HKFE-HKD-100. | 2018-12-11 14:11:24
Message from IB: Error validating request:-'bD' : cause - The symbol or the local-symbol or the security id must be entered. IB Error Code: 321. Request ID: 1. Symbol: 700-FUT-201812-HKFE-HKD-100. | 2018-12-11 14:11:24
Interactive Brokers | Requesting Trade Positions snapshot and updates (IB account data updates (6)) for account: DU21* | 2018-12-11 14:11:29
Interactive Brokers | Sending request for contract details for contract ID 309359834 | 2018-12-11 14:11:29
Interactive Brokers | Sending request for contract details for contract ID 140081942 | 2018-12-11 14:11:29
Interactive Brokers | Sending request for contract details for contract ID 321632548 | 2018-12-11 14:11:29
Interactive Brokers | Received Trade Positions download end message for account DU21* | 2018-12-11 14:11:29
Interactive Brokers | Received contract details for symbol HSI-201812-HKFE | 2018-12-11 14:11:29
Interactive Brokers | Received contract details for symbol JPY-201812-GLOBEX | 2018-12-11 14:11:29
Interactive Brokers | Received contract details for symbol M6A-201812-GLOBEX | 2018-12-11 14:11:29
Interactive Brokers | All contract details received for symbols used for trading. Starting timer to request trading data. | 2018-12-11 14:11:29
Interactive Brokers | All contract details received for symbols used for trading. Re-requesting trading data. | 2018-12-11 14:11:39
Interactive Brokers | Stopping automatic Trade Position updates for account: DU21* | 2018-12-11 14:11:39
Interactive Brokers | Requesting Trade Positions snapshot and updates (IB account data updates (6)) for account: DU21* | 2018-12-11 14:11:39
Message from IB: API client has been unsubscribed from account data. IB Error Code: 2100. Request ID: -1. | 2018-12-11 14:11:39
Interactive Brokers | Received Trade Positions download end message for account DU21* | 2018-12-11 14:11:39
HD Request # 6 | Downloading Intraday chart data for 700-FUT-201812-HKFE-HKD-100 to the file 700-FUT-201812-HKFE-HKD-100.sc id. Service: interactive_brokers.trading | 2018-12-11 14:11:40
HD Request # 6 | Download start date-time: 2018-06-08 14:11:39.000 | 2018-12-11 14:11:40
HD Request # 6 | Requesting a total of 5 days and 0 seconds. | 2018-12-11 14:11:40
HD Request # 6 | IB Backfill - Seconds requested: 86400. Seconds Remaining: 345600. | 2018-12-11 14:11:40
HD Request # 6 | Requesting 1 Day of data at 30 secs with ending date-time at 2018-12-07 15:21:39 for 700-FUT-201812-HKFE-HKD-100. PriceType: TRADES | 2018-12-11 14:11:40
HD Request # 6 | Message from IB: Error validating request:-'bF' : cause - Please enter exchange. IB Error Code: 321. Request ID: 200002. | 2018-12-11 14:11:40
HD Request # 6 | IB Backfill - Seconds requested: 86400. Seconds Remaining: 259200. | 2018-12-11 14:11:40
HD Request # 6 | Requesting 1 Day of data at 30 secs with ending date-time at 2018-12-08 15:21:39 for 700-FUT-201812-HKFE-HKD-100. PriceType: TRADES | 2018-12-11 14:11:40
HD Request # 6 | Message from IB: Error validating request:-'bF' : cause - Please enter exchange. IB Error Code: 321. Request ID: 200003. | 2018-12-11 14:11:40
HD Request # 6 | IB Backfill - Seconds requested: 86400. Seconds Remaining: 172800. | 2018-12-11 14:11:40
HD Request # 6 | Requesting 1 Day of data at 30 secs with ending date-time at 2018-12-09 15:21:39 for 700-FUT-201812-HKFE-HKD-100. PriceType: TRADES | 2018-12-11 14:11:40
HD Request # 6 | Message from IB: Error validating request:-'bF' : cause - Please enter exchange. IB Error Code: 321. Request ID: 200004. | 2018-12-11 14:11:40
HD Request # 6 | IB Backfill - Seconds requested: 86400. Seconds Remaining: 86400. | 2018-12-11 14:11:40
HD Request # 6 | Requesting 1 Day of data at 30 secs with ending date-time at 2018-12-10 15:21:39 for 700-FUT-201812-HKFE-HKD-100. PriceType: TRADES | 2018-12-11 14:11:40
HD Request # 6 | Message from IB: Error validating request:-'bF' : cause - Please enter exchange. IB Error Code: 321. Request ID: 200005. | 2018-12-11 14:11:40
HD Request # 6 | IB Backfill - Seconds requested: 86400. Seconds Remaining: 0. | 2018-12-11 14:11:40
HD Request # 6 | Requesting 1 Day of data at 30 secs with ending date-time at 2018-12-11 15:21:39 for 700-FUT-201812-HKFE-HKD-100. PriceType: TRADES | 2018-12-11 14:11:40
HD Request # 6 | Message from IB: Error validating request:-'bF' : cause - Please enter exchange. IB Error Code: 321. Request ID: 200006. | 2018-12-11 14:11:40
HD Request # 6 | Received 0 records from 00:00:00 to 00:00:00 (0.0 seconds) and wrote 0 records for 700-FUT-201812-HKFE-HKD-100 | 2018-12-11 14:11:40
HD Request # 6 | Completion time: 0s | 2018-12-11 14:11:40
HD Request # 6 | Intraday data download complete for 700-FUT-201812-HKFE-HKD-100. Unique request ID: 5 | 2018-12-11 14:11:40
Removed historical data download ID 5 | 2018-12-11 14:11:40
Real-time Intraday chart data file updates started for 700-FUT-201812-HKFE-HKD-100 | 2018-12-11 14:11:40
Intraday chart data file opened for 700-FUT-201812-HKFE-HKD-100 | 2018-12-11 14:11:40