Initialize seems to be called twice on startup
Created at 13 Apr 2019, 02:02
DO
Initialize seems to be called twice on startup
13 Apr 2019, 02:02
HI,
Is there any function to check if Initialize is being called using cached data or new historical data ? I'm only interested in the real data. It's very heavy to initialize twice as we make some network call in Initialize()
Thanks.
PanagiotisCharalampous
14 Apr 2019, 17:13
Hi dominhtri1995,
Cached data for cBots and indicators are updated whenever new data is available, if this is what you mean. If not please elaborate on what the issue is since your explanation is not very clear.
Best Regards,
Panagiotis
@PanagiotisCharalampous