Login Page - Create Account

DTC Protocol Discussion Forum


Date/Time: Fri, 29 Nov 2024 12:53:56 +0000



[Locked] - DTC HistoricalPriceDataReject

View Count: 2258

[2020-11-23 08:42:45]
RobinhoodFR - Posts: 13
Hello

I am trying to retrieve historical data using the dtc protocol. However I got an issue.

When I send a request, I receive a reject message. Let me give you an example:

[SEND from dtc client] - HistoricalPriceDataRequest - {"RequestID":2,"Symbol":"BN.P.EB","RecordInterval":60,"StartDateTime":1605830400000,"EndDateTime":1605916800000,"Type":800}
[RECEIVED from dtc server] - HistoricalPriceDataReject - {"Type":802,"RequestID":2,"RejectText":"Historical Price Data request is not supported on this port.","RejectReasonCode":4,"RetryTimeInSeconds":0}

By the way, please note:

- Dtc client and dtc server are on the same computer
- I have no major issues using dtc for realtime streaming
- I have followed this: Data and Trading Communications (DTC) Protocol Server: Historical Price Data Server
- I always receive the same error even when changing the record interval
- You will found attached hereto the full log from SC

I do not understand why there is an issue with the port 11098. I also made tests using others ports but I always receive the same error.

Thanks for your answer and your time++
Date Time Of Last Edit: 2020-11-23 08:43:43
Private File
[2020-12-07 02:06:28]
DTC Engineering - Posts: 320
There is a separate port for historical data. You cannot use any other port. Refer to:
Data and Trading Communications (DTC) Protocol Server: Historical Price Data Server

You need to use the port labeled "Historical Data Port".
Date Time Of Last Edit: 2020-12-07 02:06:36

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account