Login Page - Create Account

Support Board


Date/Time: Fri, 27 Dec 2024 11:19:20 +0000



Post From: ACSIL - How to force data recalculation on feed connect/disconnect?

[2015-12-18 01:10:42]
ejtrader - Posts: 688
SC Team - Is there any reliable way to force recalculate when data feed is connected/disconnected?

I have explored - sc.ServerConnectionState - but probably running into usage issues.

The following code - doesn't get executed when the feed is disconnected/connected. Would you please provide any tips on this?


if (sc.UpdateStartIndex == 0) {
sc.AddMessageToLog(" ---- testind --- update == 0 -----", 0);
}

thanks