Check programmatically the latency with cServer
Check programmatically the latency with cServer
17 Jun 2015, 01:28
Hello,
As I couldn't find a vps with a stable connection below 1ms to your cServer located in London-3, i was trying to develop a switch based on the current latency.
I am trying to figure out which of the Performance Counters you are using to define the Proxy Latency and Server Latency.
Basically, what I would need is to check every x time the current latency with cServer. if it is above a certain value, my robot will not open positions.
I suppose I should look for the right counter but I cannot find the one that shows the values in the cAlgo platform.
Any suggestion?
Replies
brosnet
17 Jun 2015, 16:44
RE:
Spotware said:
Dear Trader,
cAlgo.API does not provide any latency. We will consider providing it in the future.
I know that cAlgo.API does not provide the latency. I ve read from one of your posts, that the latency shown by the platform is taken from the Performance Counters from windows.
the only problem is that i could not find the right one.
is it calculated somehow taking other info from the performance counter or do you show a specific one?
@brosnet
Spotware
17 Jun 2015, 12:51
Dear Trader,
cAlgo.API does not provide any latency. We will consider providing it in the future.
@Spotware