Re: [#9351107] Clarification on Achieving <45ms Latency with Upstox API

I came across your documentation which mentions that Upstox API can provide order execution latency of <45 milliseconds. I would like to clarify whether the programming language used for placing orders (e.g., Python, Java, Node.js, etc.) has any significant impact on achieving this latency.

Could you please confirm:

  1. Which language(s) are recommended to consistently achieve execution latency under 45ms?
  2. Does using the official SDK (Python/Java/Node.js) introduce any additional overhead compared to raw HTTP API calls?

Hi @Anand_49083701

The 45ms latency is our internal order execution speed. Meaning, it is the latency of an order from - the moment a place order call hits our server to the moment we get an acknowledgement from the exchange.
From the user end latency, it depends upon the speed/bandwidth of the internet connection mainly.

Programming languages do not really affect this latency. But what they do, is the latency(time taken) from reading data, generating signal, applying order logics and firing the place/modify/cancel order APIs.

Choosing the programming language depends on the logic of the strategy, if you need multi-threading or not, size of parameters scanned, etc, and mainly what you’re really comfortable with

1 Like