Subject: Webhook Not Receiving Order Updates for App “preprodAlgo”
Hello Upstox API Support,
We are experiencing an issue where our webhook is not receiving any order update events for our registered app.
App Name: preprodAlgo User ID: 67ATC7 Webhook URL:https://preprod.algoetf.in/api/api/stocks/updateOrder Issue Summary: Our server is not receiving any webhook events (such as order status updates) even though orders are being placed and executed via API.
Technical Details:
The webhook URL is publicly accessible over HTTPS and returns HTTP 200 OK.
We have tested the endpoint with curl and Postman, confirming it accepts POST requests and processes JSON.
Our backend uses express.json() middleware, and logs show no incoming requests from Upstox.
The endpoint responds in under 500ms.
The above order ID was placed via API and shows as “complete” in the Upstox platform, but no webhook event was received.
Request:
Please confirm if webhook events are being triggered for our User ID (67ATC7) and the specified order.
Check if there are any delivery errors or logs on your side related to our webhook URL.
Advise if additional configurations like IP whitelisting or secret headers are necessary.
Suppose I have placed GTT order at 100 with a target of 105. Now the order got executed at 100 and next day market opens at 115. So will my order get exited at 105 or 115?
Hi @Jagdish_j_ptl
We apologize for missing this query earlier.
The concept of Market Protection Percentage (MPP) is applied to the second leg of GTT orders. When placing GTT orders via the API, the MPP value is currently fixed at 3% by default.
For more information on MPP, please refer to this article: Market Price Protection (MPP) on Upstox – Trade Smarter, Safer.
We are also planning to introduce the ability for users to set a custom MPP value in the GTT order payload.
@Ketan thank you for the reply. But don’t you think MPP should be used to protect from unfavorable losses not from favourable profits? MPP should be applicable on Entry leg and Stoploss leg. And for Target leg if market is opening higher than mentioned target price then it should be exited with higher price as it will give extra profit.
Suppose if entry leg is 100 then it should be executed max at 102. And for stoploss if stoploss price is 100 then it should be executed between 98-100 but for Target there should not be upper limit as if trigger price is if I bought at 100 with target price105 but market is opening at 120 then as per current scenario I will get profit of 5 points where I could have booked 20 points without MPP in upper limit.