Login Page - Create Account

Support Board


Date/Time: Mon, 09 Jun 2025 22:40:15 +0000



DTC C# code on github

View Count: 3425

[2014-08-01 05:17:23]
onnb - Posts: 663
hi, first, is this forum the right place for DTC related questions/issues/discussions?

I cloned the DTC C# example and header file (DTCProtocol project).
I am able to use this code and connect with SC as a service provider.

Is the repo managed by Sierra Chart? I added to the header file a new structure for logon response and want to see if there is interest that I push it back up.
[2014-08-01 16:09:44]
ejtrader - Posts: 688
onnb - Certainly would be helpful - if you could upload it or make it available somewhere here.

Thanks
[2014-08-01 16:20:35]
ganz - Posts: 1048
SC Support

btw It would be good to see it cross platform and easy to use: I mean DTC python wrapper.

thnx
Date Time Of Last Edit: 2014-08-01 16:21:00
[2014-08-01 17:47:47]
onnb - Posts: 663
ejtrader - are you referring to the header or the server code? I see these as two separate pieces.
Have you downloaded and tried running the github project from here: https://github.com/SierraChart/CSharp-DTC-client

That implements a client but some of the code from it can be used for a server which is what I am currently writing.

The server code I have is just integration code implementing a service provider in c# - it has no error handling, it is not scalable and it doesn't do much ;) It just starts listening, responds to logon requests, sends heartbeats and logs new client requests as they come in.

After I clean them up a bit, I'll gladly post them both.


[2014-08-01 18:01:30]
ejtrader - Posts: 688
Thanks Onnb. just looking for a starting point on this to expand further :)
[2014-08-02 06:48:19]
onnb - Posts: 663
see here: https://dl.dropboxusercontent.com/u/9913454/tmp/DTCServer.zip

It includes a winforms project of a simple server that listens for requests. Logon requests are returned successfully and a heartbeat message is sent to the client. Market data requests are rejected because I wanted to write a server that provides historical data only. I am still not receiving the historical data request from sc but that is another matter.

Also note that the project includes an updated version of the c# header file that I found in the https://github.com/SierraChart/CSharp-DTC-client project.


[2014-08-02 07:00:28]
ejtrader - Posts: 688
Thanks Onnb. Appreciate you sharing this. Would check out and see if I can expand further on this.
[2014-08-05 07:46:35]
Sierra Chart Engineering - Posts: 104368
hi, first, is this forum the right place for DTC related questions/issues/discussions?
Yes.

Is the repo managed by Sierra Chart?
Yes.
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
[2022-12-04 13:02:24]
User223231 - Posts: 19
The Sierra Chart GitHub page does no longer have the C# DTC client project. Is it available elsewhere?
Date Time Of Last Edit: 2022-12-04 13:02:41

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

Login

Login Page - Create Account