Support Board
Date/Time: Sun, 19 Jan 2025 15:09:39 +0000
DTC Protocol, last traded price and Heartbeat
View Count: 738
[2018-04-16 11:59:11] |
User942837 - Posts: 108 |
Hi, I noticed, that I am receiving JSON messages depending to how fast I am sending heartbeats from client. If I set it to 5seconds, I will not receive data in between those 5 seconds. I thought that this is not the way it should work and was under the impression that the data is being received in realtime not in 5 seconds batches. Please correct me if I am wrong. If I reduce the client heartbeat to 1s intervals, I receive the last price (message 112) faster but it still is not good enough. thank you |
[2018-04-16 12:13:15] |
Sierra Chart Engineering - Posts: 104368 |
You really have to look at your code. A problem like this would be on your side. We tested using compact JSON across instances of Sierra Chart and this is what we see for the symbol EURUSD: {"Type":3,"F":[0,1523880720]} | 2018-04-16 08:12:01 (Heartbeat)
{"Type":117,"F":[1,1.237169981,1,1.237169981,1,1523880724]} | 2018-04-16 08:12:04 {"Type":117,"F":[1,1.23715996742,1,1.237169981,1,1523880724]} | 2018-04-16 08:12:04 {"Type":117,"F":[1,1.23714995384,1,1.237169981,1,1523880724]} | 2018-04-16 08:12:04 {"Type":117,"F":[1,1.23714995384,1,1.23715996742,1,1523880724]} | 2018-04-16 08:12:04 {"Type":117,"F":[1,1.23714005947,1,1.23715996742,1,1523880724]} | 2018-04-16 08:12:04 {"Type":117,"F":[1,1.23714995384,1,1.23715996742,1,1523880725]} | 2018-04-16 08:12:06 {"Type":117,"F":[1,1.23714995384,1,1.237169981,1,1523880726]} | 2018-04-16 08:12:07 {"Type":117,"F":[1,1.23715996742,1,1.237169981,1,1523880726]} | 2018-04-16 08:12:07 {"Type":117,"F":[1,1.23714995384,1,1.23715996742,1,1523880729]} | 2018-04-16 08:12:10 {"Type":117,"F":[1,1.23714005947,1,1.23715996742,1,1523880729]} | 2018-04-16 08:12:10 {"Type":3,"F":[0,1523880740]} | 2018-04-16 08:12:21 (Heartbeat) 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-04-16 12:13:38
|
To post a message in this thread, you need to log in with your Sierra Chart account: