Modify Existing STOPLOSS order not working
-
HI @PandaTrade We will test it and update you on this.
-
Hello @admin,
The modify order API is not working for NFO segment as well.
I am trying to change my stoploss.
The response seems to be SUCCESS but when i check it in the web platform there is this error.
Here is the payload i am using-
payload = {"variety": "STOPLOSS",
"orderid": ORDERID,
"ordertype": "STOPLOSS_MARKET",
"producttype": PRODUCTTYPE,
"duration": "DAY",
"price": 220.00,
"quantity": "2",
"tradingsymbol": SYMBOL,
"symboltoken": SYMBOLTOKEN,
"exchange": "NFO"
} -
@admin
Can you fix this issue? Looks like the order is going to the system but is is not taking the effect it should. I gave a price to test the SL-M , even though the price is reached the order is not executed. -
@PandaTrade Here you can see the Trigger price is shown as 0 Which is not correct.
-
@rajanprabu Thanks for the input . Yes it has worked.
In the process i discovered a bug.
As i try to modify the SL_MARKET order the same thing is not reflected in the web platform.
-
Hi @PandaTrade We will test it from our side and update you..
-
Understood.. looks like you need to include tradingsymbol.
-
@rajanprabu yes..
it is for updating the stoploss price of stoploss market order that exists in the system.
So effectively i am fetching the SL-M order already in the system and changing that order with a new price. -
DO you need orderid for this ?
-
@admin!! any update on this?
@rajanprabu have you faced this issue earlier?