Support Board
Date/Time: Fri, 21 Mar 2025 07:18:13 +0000
Can not download intrady data with TWS
View Count: 426
[2022-11-21 02:49:21] |
Userhl - Posts: 3 |
Hi, I using Intractive brokers, but can not download intrady data, and the messdge log is downbelow: HD Request # 12 | Message from IB: Error validating request:-'bT' : cause - Historical data query end date/time string [20221121-03:23:47] is invalid. Format is 'YYYYMMDD{SPACE}hh:mm:ss[{SPACE}TMZ]'. IB Error Code: 321. Request ID: 200004. | 2022-11-20 21:13:47.681 HD Request # 12 | Received 0 Intraday data records from 00:00:00.000000 to 00:00:00.000000 (0.0 seconds) and wrote 0 records for EUR-202212-CME | 2022-11-20 21:13:47.681 HD Request # 12 | Completion time: 0s. | 2022-11-20 21:13:47.681 HD Request # 12 | Intraday data download complete for EUR-202212-CME. Unique request ID: 12 | 2022-11-20 21:13:47.681 Removing historical data download ID 12. | 2022-11-20 21:13:47.681 Real-time Intraday chart data file updates started for EUR-202212-CME | 2022-11-20 21:13:47.681 Opened cached Intraday file: C:\SierraChart\Data\EUR-202212-CME.scid. Thread ID: 11480 | 2022-11-20 21:13:47.682 Intraday chart data file opened for EUR-202212-CME | 2022-11-20 21:13:47.682 I know the IBAPI is suck, but I think the datetime format of the request function is wrong, because I have also developed some applications using IBAPI, if you are using the same IBAPI as me,https://interactivebrokers.github.io/tws-api/classIBApi_1_1EClient.html#aad87a15294377608e59aec1d87420594 |
[2022-11-21 03:22:34] |
User584084 - Posts: 268 |
Download IB TWS Latest Version 10.20.1c or IB Gateway Latest API and the latest SC Version. This should fix your historical intraday data download issues.
Date Time Of Last Edit: 2022-11-21 04:00:21
|
To post a message in this thread, you need to log in with your Sierra Chart account: