Memory CPU Performance Counters of CBot

m4trader4 since: 19 Sep 2021;

  11 Oct 2021, 16:26
Memory CPU Performance Counters of CBot

Hello

Is there a way to know what is the memory usage, threads, cpu utilization of CBOT, Indicator

amusleh's avatar

amusleh since: 01 Mar 2021;

  12 Oct 2021, 07:21

Hi,

No, there is no way to get the resource usage statistics of your cBot/indicator.

You can check indicators/cBots resource usage in cTrader 4.2 from Task manager, which will run each indicator/cBot on its own sandbox process.

Please wait for cTrader 4.2 release.

Community Developer | Spotware | Telegram: @algodeveloper

m4trader4 since: 19 Sep 2021;

  12 Oct 2021, 17:56

Ahmad,

Thanks for the replies. Appreciate your support.

Is there any thoughts to provide detailed usage statistics. Its very usefull for optimization, capacity management for hosting in VPS.

On a different note, what is the hostname/ipaddress to check the proxy latency and server latency from the VPS service provider before signing up. 

In FIX Api there is a host h50.p.ctrader.com is this the proxy hostname?

Thanks

Ahmed

amusleh's avatar

amusleh since: 01 Mar 2021;

  13 Oct 2021, 08:45
RE:

Hi,

Once cTrader 4.2 released you will be bale to use Windows Task manager to check each custom indicator or cBot resource usage while its running.

There is no way to get server host name via Automate API, you can create a suggestion for it.

You can use FIX host name and ping it to check the latency.

Community Developer | Spotware | Telegram: @algodeveloper