Initialize seems to be called twice on startup

Created at 13 Apr 2019, 02:02
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
DO

dominhtri1995

Joined 10.04.2019

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.


@dominhtri1995
Replies

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