@Moderator_3 Issue fixed. Minor error from my code side.
krishna1810
@krishna1810
Best posts made by krishna1810
Latest posts made by krishna1810
-
RE: Search scrip was giving AB4012 error code
-
RE: Limit Price Protection in Orders
@Moderator_1 , I am trying to send the request body like below
{ "variety":"STOPLOSS", "tradingsymbol":"SBIN-EQ", "transactiontype":"BUY", "exchange":"NSE", "ordertype":"STOPLOSS_LIMIT", "producttype":"DELIVERY", "duration":"DAY", "price":"818", "squareoff":"800", "stoploss":"800", "quantity":"1" }
Note : symbolToken already added.
As of today's date SBIN price is 812.1 rupees.
Now I am getting response as below{ "status": false, "message": "Difference between limit price and trigger price for SL Limit Order is beyond the exchange’s Permissible range of < 1.50 >. Consider setting the limit price to < 1.50 > or lower", "errorcode": "AB1007", "data": { "script": "SBIN-EQ", "orderid": null, "uniqueorderid": "15ea8c49-c973-47dd-80ef-2251c134bd8b" } }
can you please help me understand, where I have done the mistake ?
-
Search scrip was giving AB4012 error code
While trying to hit this endpoint : "/rest/secure/angelbroking/order/v1/searchScrip"
I am getting response as :
{
"message": "Invalid searchscrip",
"errorcode": "AB4012",
"status": false,
"data": null
}in the request i provided data as
{
"exchange" : "NSE",
"searchscrip":"SBIN"
}can someone please help where i did wrong ?
@admin , @Moderator_1 -
Fetching Token for Individual Scrips gives AB4012 error code
Hi @Moderator_1 , @admin
I am trying to fetch the scrip response using the endpoint
with POST request
"https://apiconnect.angelbroking.com/rest/secure/angelbroking/order/v1/searchScrip"I passed body as
{
"exchange": "NSE",
"searchscrip": "SBIN"
}but this gives response as
{
"message": "Invalid searchscrip",
"errorcode": "AB4012",
"status": false,
"data": null
}
please fix it.if done any mistake from my side, please let me know