Login Page - Create Account

Support Board


Date/Time: Sun, 12 May 2024 10:51:32 +0000



Getting real time data feed

View Count: 618

[2020-10-08 12:54:58]
User645786 - Posts: 5
Hi Support,

We are trying to build a simple small windows application that display the real time values of HSI from Hong Kong. You can imagine it's nearly as simple as just one text boxe displaying the live value of the index, no histroy is required.

I am currently researching where I can get live data feed from and I came across your platform. I read your page : Sierra Chart Exchange Data Feed , however I failed to picture how we can consume the values from your application to our application. Would you mind to point me to the right direction?

Many thanks in advance.

Regards,
Alex
[2020-10-08 21:48:50]
Sierra Chart Engineering - Posts: 104368
You can access this through the DTC Protocol Server:
Data and Trading Communications (DTC) Protocol Server
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: 2020-10-08 21:49:01
[2020-10-17 00:35:53]
User645786 - Posts: 5
Thanks Support,

We've reviewed a few options out there on the internet and think your solution is the best, so we will go ahead. I have just applied an advanced account and is going through the documentation via the link that you sent me above.

Quick question, what is the symbol for the HSI from Hong Kong? This is the index and we need a real time datafeed for it, no historical data is needed, just the latest value : https://www.ig.com/en/indices/markets-indices/hong-kong-hs42

I can't seem to find the symbol in the drop down box.

I may have a few other questions in the near future until we got it up and running, I would like to say thanks in advance.

Regards,
Alex
[2020-10-17 11:19:56]
User645786 - Posts: 5
Ok I am able to connect to the local DTC server now


DTC Protocol server | Incoming connection from 127.0.0.1. | 2020-10-17 11:07:10.451
DTC client #3. 127.0.0.1 (2) | Creating socket. | 2020-10-17 11:07:10.452
DTC client #3. 127.0.0.1 (2) | New receive buffer size: 262144 | 2020-10-17 11:07:10.452
DTC client #3. 127.0.0.1 (2) | Socket gracefully closed by remote side. | 2020-10-17 11:07:32.604
DTC client #3. 127.0.0.1 (2) | CloseSocket call. | 2020-10-17 11:07:32.605
DTC client #3. 127.0.0.1 (2) | 0 bytes remaining in receive buffer when socket closed. | 2020-10-17 11:07:32.605
DTC client #3. 127.0.0.1 (2) | Graceful close received or receive error. Shutdown complete. Closing socket now. | 2020-10-17 11:07:32.605
DTC client #3. 127.0.0.1 (2) | Closed. | 2020-10-17 11:07:32.605
Deleting individual DTC server: DTC client #3. 127.0.0.1 | 2020-10-17 11:07:32.606
DTC server: DTC client #3. 127.0.0.1 successfully deleted. | 2020-10-17 11:07:32.610

Trying to figure out what should I send to the DTC server now, do you have some examples of the messages to be sent and received? Just want to get the live value thx
[2020-10-17 22:14:14]
Sierra Chart Engineering - Posts: 104368
For the real-time Hong Kong futures data you need to use this service:
Sierra Chart Exchange Data Feed

The symbols are listed in File >> Find Symbol >> Futures-HKFE

There is also the CFD symbol in File >> Find Symbol >>CFD-FXCM:
HKG33

Full documentation for the DTC protocol server is here:
Data and Trading Communications (DTC) Protocol Server

You must read the documentation and understand it and not rely on us.
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: 2020-10-17 22:14:45
[2020-10-18 00:10:18]
User645786 - Posts: 5
Hi Support,

Thanks, but I'm not "Relying" you you guys, it is just that your documentation doesn't have any examples of the payloads.

If it is well documented, that means having the scripting reference, script and payload examples, and tutorial videos, then there is no need for us to come asking for support.

Regards,
Alex
[2020-10-18 00:22:22]
User645786 - Posts: 5
Hi Support,

Also, I AM reading the documentation :

Data and Trading Communications (DTC) Protocol Server

I am up to the "Server Usage" -> point 15, and it doesn't say how to create a message to your DTC server, how the message looks like ( this is where i need examples but it is not in your documentation ) and what the messages coming back from DTC server looks like.

Also the DTC Github Repository page does not exist, it is returning HTTP404 when I open it : https://github.com/DTC-protocol/DTC/

I'm not trying make a fuss here, please understand I'm trying to get this task done, without examples it will require support for new users to onboard your service.

Regards,
Alex
[2020-10-18 00:50:54]
Sierra Chart Engineering - Posts: 104368
You should not need any examples because the data structures are provided if you are using non JSON encoding. Refer to:
DTC Protocol: Message Format and Encoding

And there are examples in the case of JSON encoding.

This has been removed and the documentation corrected:

Also the DTC Github Repository page does not exist, it is returning HTTP404 when I open it : https://github.com/DTC-protocol/DTC/

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: 2020-10-18 00:52:19

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

Login

Login Page - Create Account