Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 00:36:43 +0000



Post From: Latency while calculation using ACSIL

[2023-06-26 16:22:55]
User309103 - Posts: 12
Hi,

I am using ACSIL to write an Adaptive Stochastic Moving Average Crossover strategy. But the code (attached one) is providing a latency of around 800ms. But the same strategy when added to studies and used by getstudybyid() function has the latency of around 100ms. I want to know what happens exactly in the backend of calculation, which result in such a huge difference in latency. Does the storage of values cost time? If it does, why is the case not similar in in-built study?
Private File