Login Page - Create Account

Support Board


Date/Time: Thu, 26 Apr 2018 07:33:30 +0000



Post From: Trying to run JAVA demo program

[2017-12-06 00:27:40]
Sierra Chart Engineering - Posts: 59446
We cannot provide programming help.

But what we can say is definitively there is a problem on your side where messages are not being sent and therefore not received by Sierra Chart:
DTC client #59. Sample Application. 127.0.0.1 | No heartbeat received after 1m 20s. Closing network socket. | 2017-12-02 10:40:48

Make sure there is a null terminator after each one. If there is not a null terminator, then that can lead to a problem where the messages just never get processed.

Also we see this:

String marketDataRequestCL = "{\"Type\":101,\"RequestAction\":\"SUBSCRIBE\",\"SymbolID\":1,\"Symbol\":\"CLF8\", \"Exchange\":\"NYMEX\"}";



In regards to the Exchange field, that is not needed. Refer to the Notes section here about this:
https://www.sierrachart.com/index.php?page=doc/DTCServer.php#SpecialNotes
Sierra Chart Support - Engineering Level

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

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
Date Time Of Last Edit: 2017-12-06 00:30:17