Login Page - Create Account

Support Board


Date/Time: Tue, 25 Feb 2025 11:33:23 +0000



Post From: IsFullRecalculation changes to False (0) while SC is disconnected

[2021-04-06 19:34:56]
User987654 - Posts: 69
Hi Support,

In my ACSIL study, I used sc.IsFullRecalculation to test for when data is not live. Once live, it executes a different block that sends orders. When I reload the chart while I have SC disconnected from the data feed, the flag will remain True (1) until it has processed all the data but then change to False (0) once it gets to the end of the reload even though the data feed remains disconnected.

When this happens, I get the following message in my Trade Service Log seemingly at every chart update interval. I am guessing it's because the study is trying to send orders.

- Not connected to the Trading service. Select 'File >> Connect to Data Feed' to connect. You may need to reconnect with 'File >> Disconnect' and 'File >> Connect to Data Feed' | 2021-04-06 15:23:57.136 *
- Not connected to the Trading service. Select 'File >> Connect to Data Feed' to connect. You may need to reconnect with 'File >> Disconnect' and 'File >> Connect to Data Feed' | 2021-04-06 15:23:57.243 *
-etc.

Is this the intended behavior? ie. expecting the next tick to be live since the reload of historical data is done?

Thanks