Support Board
Date/Time: Wed, 30 Apr 2025 11:35:22 +0000
Post From: DTC Protocol Integration Issue - Historical Data Requests Not Being Processed
[2025-04-16 00:58:14] |
colin0021 - Posts: 30 |
Hello John, I'm working on integrating Sierra Chart with a custom trading application using the DTC protocol. While I can successfully establish the initial connection to the DTC server and subscribe to real-time data, I'm experiencing issues with historical data requests. My setup details: Sierra Chart version: 2732 (64-bit) DTC Protocol version: 8 Protocol Settings: Using JSON encoding (Type 0) Data service: SC Data Primary Connection: Port 11099 Historical Data Port: 11098 Issue Description: When my application makes historical data requests through the DTC protocol, the requests time out without receiving any data. Looking at the Sierra Chart logs, I found these errors: DTC client #50. 127.0.0.1 | Received unknown message type from client. Type = 0 HD Server | Received unknown message type from client. Ending the thread. Type: 0 DTC client #50. 127.0.0.1 | No heartbeat received after 10s. Closing network socket. I've verified that: The initial connection is successful The logon process appears to complete Real-time subscriptions work initially The Historical Data Service is enabled My questions: Is there a specific message format required for historical data requests that differs from the standard DTC JSON format? Are there any specific settings I need to configure in Sierra Chart for historical data requests to work properly? Do you have any example code or logs showing a successful historical data request that I could compare with my implementation? I'd greatly appreciate any guidance on resolving this issue. I can provide additional information or logs if needed. Thank you, |