Login Page - Create Account

Support Board


Date/Time: Sat, 11 May 2024 06:44:07 +0000



sc.DataFile change not releasing realtime subscription

View Count: 864

[2017-09-25 23:57:17]
Jagui1 - Posts: 14
SC version 1615 with IB real account and SC realtime datafeed enabled.
Max 100 realtime symbols on both IB and SC realtime datafeed.
I have a chartbook with 16 charts of NYSE stocks.
In each of these 16 charts there is a custom indicator that periodically changes the chart symbol using sc.DataFile = ...
After a total of approx 100 symbol changes, I start getting the 100 symbols limit reached error.
I expect to never reach that limit, because there are only 16 charts and so I think that there are no more that 16 active realtime symbols at each moment in time.
It seems like SC does not unsubscribe to realtime updates after having changed a chart symbol via sc.DataFile.
Date Time Of Last Edit: 2017-09-26 00:05:03
[2017-09-26 00:24:29]
Sierra Chart Engineering - Posts: 104368
Yes this is true. Refer to:
Chart Data and Chart Data Files: Reducing Number of Symbols Being Tracked by Sierra Chart

We possibly can add the capability for ACSIL to disconnect and connect to the data feed and maybe that would be a solution indirectly.
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: 2017-09-26 00:25:23
[2017-09-26 00:40:17]
Jagui1 - Posts: 14
Is it possible to disconnect and reconnect to the trading service from ACSIL?
This would be a quick workaround...
[2017-09-26 00:45:33]
Jagui1 - Posts: 14
...didn't see you already thinked about this solution :-)
[2017-09-26 01:38:23]
Sierra Chart Engineering - Posts: 104368
We can see that the variables for reconnecting to the data feed in ACSIL already exist:

sc.ConnectToExternalServiceServer;
sc.ReconnectToExternalServiceServer;
sc.DisconnectFromExternalServiceServer;


We just need to add another variable indicating how many symbols that Sierra Chart is tracking. We will do that today.
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: 2017-09-26 01:39:48

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

Login

Login Page - Create Account