Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 23:38:02 +0000



DTC Server does not autostart on Sub Instance

View Count: 398

[2023-05-16 20:05:54]
User230940 - Posts: 121
Hello,

I change my Desktop.

Now my main trading environment is based on a the Sub Instance.

My Trading will be send / get through the DTC Server from a Client Application.

But I detect today, the DTC Server does not start during Sierrachart startup.



The normal DTC Server on the Prim Instance works fine and is starting with the SierraChart startup.


I did the configuration on the Sub Instance / DTC Protocol Server / Enable DTC Protocol Server to "yes".
I changed the port config to use a different port than on the Prim Instance.
Push apply and it works fine.
If I close SC and restart it again, "Enable DTC Protocol Server" is set to "no" and the DTC Server is not starting.

Did i missed something to configure? Is this a bug? Why is my configuration changed to "no"?

I need that the DTC Server on the Sub Instance startup during SC startup.

Thanks
best regards
[2023-05-16 21:02:09]
John - SC Support - Posts: 36350
You are not thinking of this properly.

First of all, you do not need to do anything in the Sub-Instance. The Sub-Instance is automatically setup to use the Main Instance as the server. The main instance is automatically setup to start as the server.

Second, when the Sub-Instance is running, it is a "Client" and the main instance is the "Server". This would be true for any sub-instances you start.

As long as you did not make any changes to the settings for the server in the main instance, or to the "Client" settings in the Sub-Instance then you should still be fine. If you did make changes, then you will want to set them back to their defaults so the instances can all work properly together.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-05-17 06:24:36]
User230940 - Posts: 121
Hi John,

thanks for your quick response.

But you do not understand.

The SC instance itself works well. fine. MBO Data is available on Sub Instances. Since that it is a good idea to use Sub Instances.

I do have an external Application which is using the DTC Protocol Server to collect my trading data for further documentation and analysis.
Up to now, I was trading on the Prim Instance.

My external Application connects to DTC Protocol Server Port 11099 and get/request 301 and 304 Messages. Worked fine for a couple of month.

Now I changed my Trading Desk and now I trade on a Sub Instance instead of the prime instance as before.

I detect during trading that my external application did not get any messages regarding my trading on Sub Instance. 301 Messages for sure. 304 Messages i am not sure.

It would be great if I would get any DTC Protocol Message on the Prim Instance from all Sub Instances. Is this possible and designed too?

I activate the DTC Protocol Server on the Sub Instance reconfigure the Port from 11099 to 11097 and 11096 for history data. Change the config of the external Application.
And all Message are back again. Fine.

But the DTC Protocol Server on the Sub Instance does not start with a fresh SC restart. After a SC restart the configuration "Enable DTC Protocol Server" is set to "no".
I have to manually change it again and start the Server.

1. Should I get all DTC Messages of all Sub Instance by the DTC Protocol Server from the Prim Instance?

2. Why does the DTC Protocol Server does not autostart on the Sub Instance?

regards
[2023-05-17 08:15:14]
Sierra_Chart Engineering - Posts: 17198
Yes this will be the case:

1. Should I get all DTC Messages of all Sub Instance by the DTC Protocol Server from the Prim Instance?


A sub instance does not allow the DTC server feature to be active. Or at least it is disabled upon startup to avoid port conflicts.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-05-17 10:35:45
[2023-05-17 09:55:33]
User230940 - Posts: 121
Ok, fine.

>>A sub instance does not allow the DTC server feature to be active.

I do have it active right now. I reconfigure the Port and start it up. And I get all 301 and 304 Messages to my external Application.

If the Messages of all Sub Client should be available to the Prim Instance DTC Protocol Server, than this is the Problem.

Messages of Trading (SIM at the moment) are not visible to my external Application in case of connecting the DTC Protocol Server of the Prim Instance.

Why do not get the Messages?

thanks
regards
[2023-05-18 10:58:47]
User230940 - Posts: 121
Hi,

I checked again and I did not get any message on the Prim Instance DTC Protocol Server from the Trading on Sub Instance.

I have to use the DTC Protocol Server on the Sub Instance. This is not staring at startup.

Are there limitations on Sim Accouts?

Regards
[2023-05-18 15:02:41]
Sierra_Chart Engineering - Posts: 17198
When the sub instance is in Trade Simulation Mode, the simulated order activity is not going to go to the main instance.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-05-18 15:02:48
[2023-05-18 15:43:45]
User230940 - Posts: 121
Ok, thanks
[2023-05-18 15:45:31]
User230940 - Posts: 121
And it is not designed to autostart the DTC Server on a Sub Instance, or why it is not starting?
[2023-05-18 16:00:33]
Sierra_Chart Engineering - Posts: 17198
We will implement a solution to this in the next release. So that the DTC Protocol Server in a sub instance does not automatically disable itself.

The reason it disables itself is to avoid port number conflicts.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-05-18 16:00:47
[2023-05-18 16:11:56]
User230940 - Posts: 121
thanks, perfect
[2023-05-22 10:59:10]
Sierra_Chart Engineering - Posts: 17198
Update to the latest prerelease:
Software Download: Fast Update
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-06-22 06:15:36]
User230940 - Posts: 121
tested today with 2512 and it works fine.

Thanks
regards

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

Login

Login Page - Create Account