New Update: Trade in Cautionary Scrips via SmartAPI
-
Hello SmartAPI users,
We’re pleased to inform you that SmartAPI now allows trading in stocks that carry cautionary messages.
To enable this, simply include an optional parameter in the place order API request:
"scripconsent": "yes"
Below is the behavior of the scripconsent parameter:
-
If scripconsent is not included:
You can trade only in scrips that do not have any cautionary message. -
If scripconsent = "yes":
You can trade in all scrips, including those with cautionary messages. -
If scripconsent = "no":
You can trade only in scrips that do not have any cautionary message.
Before setting the scripconsent parameter programmatically, we strongly recommend reviewing the Cautionary Scrips API to understand the scrip-specific messages before placing orders.
API documentation:
Place Order API – https://smartapi.angelone.in/docs/Orders
Cautionary Scrips API – https://smartapi.angelone.in/docs/Instruments
Sample place order api request:
{ "variety":"NORMAL", "tradingsymbol":"SBIN-EQ", "symboltoken":"3045", "transactiontype":"BUY", "exchange":"NSE", "ordertype":"MARKET", "producttype":"INTRADAY", "duration":"DAY", "price":"194.50", "squareoff":"0", "stoploss":"0", "quantity":"1", "scripconsent":"yes" }Regards,
SmartAPI Team -
-
Pinned by A admin