Hi @pradyumnapp
Please let us know what error your facing with error screenshot.
Hi @pradyumnapp
Please let us know what error your facing with error screenshot.
Please test this use case in your postman and please confirm.
@bhuvan-official please use "New Login" flow here - https://smartapi.angelone.in/publisher-login/v2/login/
@chandu-0 please share your client code to check the issue.
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
Hi @9868072301
Are you passing 4 digit pin in password parameter ?
@bh_nil This will be unblocked soon with a workaround.
Please do check are you passing appropriate 6 digit TOTP code from authenticator app.