Login Page - Create Account

Support Board


Date/Time: Sun, 28 Apr 2024 12:16:14 +0000



IPC for instances of sierra chart that use differnent trading services

View Count: 675

[2016-07-03 03:21:10]
enemyspy - Posts: 304
I am trying to decide the most sensible method to send an order generated from a trading system to multiple Non Sim trade services:

Presently I am duplicating the SCNewOrder generated by the trading system to a json file that is constantly being opened and read back into an SCNewOrder and modified by the other trade service instances. I would rather establish IPC.

Forgive my Ignorance on exactly what can be done with DTC by an average SC user, but is it meant to Help with IPC in the way I am describing should I investigate this? or would it be a waste of time?

For instance is there a Header file that has functions to assist with this kind of thing that works with DTC protocol that can be programmed into a custom study?

Should I be seeking resources not from sierra chart on this because no related functions are available?
Date Time Of Last Edit: 2016-07-03 03:23:59
[2016-07-03 05:27:09]
Sierra Chart Engineering - Posts: 104368
This seems like a reasonable approach:
Presently I am duplicating the SCNewOrder generated by the trading system to a json file that is constantly being opened and read back into an SCNewOrder and modified by the other trade service instances.

However, you could create a network socket-based client that uses the DTC Server to send orders to another instance of Sierra Chart using the DTC server. Refer to:
https://www.sierrachart.com/index.php?page=doc/doc_DTCServer.php

Whether it is practical or not to use an ACSIL-based trading system to utilize the Windows sockets API, is hard to say but you can try.

You probably would want to set sc.UpdateAlways to TRUE and use synchronous nonblocking network socket calls.
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

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

Login

Login Page - Create Account