Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 10:12:06 +0000



Post From: Trying to run JAVA demo program

[2017-12-06 00:27:40]
Sierra Chart Engineering - Posts: 104368
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:
Data and Trading Communications (DTC) Protocol Server: Special Notes
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: 2017-12-06 00:30:17