Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 05:02:03 +0000



[Programming Help] - last few pre releases have issues with the built in dtc server

View Count: 1529

[2018-01-10 10:50:55]
Cavalry3162 - Posts: 523
Hello Support,

i've a home made app which requests data from sierra chart.. that worked fine until recently and now it doesnt work anymore...

here's the log snippets from the latest prerelease and stable version. it works in stable but not in prerelease:

version 1687

HD Server | HD Request #703517109 | Socket: 22 | Symbol: ESH8-CME | ServiceCode: | RecordInterval: 300 | MaximumDaysRequested: 0 | Start date-time: 2018-01-09 23:00:00 | ClientRequestID: 703517109 | Username: xxx. | 2018-01-10 05:37:34
HD Server | Using ending date-time: 2018-01-09 23:00:00 | ClientRequestID: 703517109 | Username: xxx. | 2018-01-10 05:37:34
HD Server | HD Request # 703517109 | Socket: 22 | Symbol: ESH8-CME | ServiceCode: | RecordInterval: 300 | Records Served: 1 | ClientRequestID: 703517109 | Username: xxx. | 2018-01-10 05:37:34


version 1673

HD Server | HD Request #107428142 | Socket: 23 | Symbol: ESH8-CME | ServiceCode: | RecordInterval: 300 | MaximumDaysRequested: 0 | Start date-time: 2018-01-09 23:00:00 | ClientRequestID: 107428142 | Username: xxx. | 2018-01-10 05:47:07
HD Server | HD Request # 107428142 | Socket: 23 | Symbol: ESH8-CME | ServiceCode: | RecordInterval: 300 | Records Served: 142 | ClientRequestID: 107428142 | Username: xxx. | 2018-01-10 05:47:07


please advise...

thanks,
Andreas
[2018-01-10 17:15:59]
Sierra Chart Engineering - Posts: 104368
Do not specify an ending date time in the request for historical data. That is the problem. You are creating the problem. There is nothing wrong on the server side.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2018-01-10 17:17:16
[2018-01-10 17:34:57]
Cavalry3162 - Posts: 523
i need an end time as i want exactly 1 day of data..

this is supported

[t_DateTime] EndDateTime  
The ending Date-Time for the historical price data returned.

If it is not set or set to 0, then this is a request to the Server to return data ending at the very latest data available for the symbol.

https://www.dtcprotocol.org/index.php?page=doc/DTCMessages_HistoricalPriceDataMessages.php#Messages-HISTORICAL_PRICE_DATA_REQUEST

it worked until recently and it should continue to do so..

btw. your rude reply is inappropriate!
Date Time Of Last Edit: 2018-01-10 17:35:54
[2018-01-10 18:37:36]
Sierra Chart Engineering - Posts: 104368
In the past, the end date-time was not supported and was ignored. It is now supported.

Do not use it and you can see clearly you are setting it the same as the start date time:


HD Server | HD Request #703517109 | Socket: 22 | Symbol: ESH8-CME | ServiceCode: | RecordInterval: 300 | MaximumDaysRequested: 0 | Start date-time: 2018-01-09 23:00:00 | ClientRequestID: 703517109 | Username: xxx. | 2018-01-10 05:37:34
HD Server | Using ending date-time: 2018-01-09 23:00:00 | ClientRequestID: 703517109 | Username: xxx. | 2018-01-10 05:37:34


If we come across as rude, this is not the intent. We are direct and to the point. And we do not think anyone would agree with you with our prior response. And your follow-up response, makes it clear as to why we are direct and to the point since you did not recognize that you have set it the same. We thought that was clear to you and was part of the basis of the response previously.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2018-01-10 19:37:14
[2018-01-10 19:02:42]
Cavalry3162 - Posts: 523
if thats the language you reply, thent its proly the only language you understnad...

dont you read that it is working in v1673?

thats clearly a bug on your side!

with v1673 i request data from 13.01.2015 6pm eastern until 14.01.2015 5pm and chart it (see screenshot) the end date DOES NOT get ignored!!! and the start date is working perfectly fine!!!

with the latest pre release it does not chart a thing!
image2018-01-10_13-55-27.png / V - Attached On 2018-01-10 19:02:36 UTC - Size: 88.41 KB - 315 views
[2018-01-10 19:35:23]
Sierra Chart Engineering - Posts: 104368
In earlier versions there definitely was no support for the ending date-time in the historical price data request. That is with certainty.

It was just added about a week ago. So this is why we are saying just not to use it because it was never supported anyway. If you just remove that, you will have the same behavior as previously. We apologize for not making that completely clear.

Although there was support for MaxDaysToReturn but we can see that that was set to 0 so it is effectively ignored.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2018-01-10 19:35:53
[2018-01-10 20:33:41]
Cavalry3162 - Posts: 523
can you explain why it worked as expected in prev versions?

like you see on the screenshot, it only sent me a day when i was submitting an end date?
[2018-01-10 20:34:10]
Cavalry3162 - Posts: 523
and the start date worked also as expected whil it isnt, right now..(?)

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

Login

Login Page - Create Account