Query Regarding API Order Placement Delay

Hello everyone,

I’m facing an issue with the Upstox API while placing orders. It takes around 1 second to complete the order placement process. In fast-moving markets, this delay becomes significant since the LTP (Last Traded Price) changes in milliseconds, causing me to lose potential opportunities.

I wanted to check:

  1. Is this delay normal and inherent to the Upstox server infrastructure?
  2. Is there any way to optimize the order placement process to reduce the time, ideally to less than 500 ms?
  3. Are there any specific configurations, such as faster endpoints or alternate methods, to improve the order execution speed?

Any advice or guidance on this would be greatly appreciated!

Thank you.

Hi @Praveen_Reddy
Our APIs enable fast order placement, with orders executed in approximately 30-40ms. Additionally, we offer the new V3 order APIs, which provide latency details in the response for order placements. You can find more information here: Upstox API Documentation - Place Order.

Please use this V3 endpoint to test the latency. The payload response includes the latency value, as shown below:

{
    "status": "success",
    "data": {
        "order_ids": [
            "1644490272000",
            "1644490272001",
            "1644490272003"
        ]
    },
    "metadata": {
        "latency": 30
    }
}

The latency value is provided in milliseconds. Let us know the latency you observe.

Thank you.