please check this forum post - https://smartapi.angelbroking.com/smartapi/forum/topic/5421/new-update-trade-in-cautionary-scrips-via-smartapi
Group Details Private
Global Moderators
Forum wide moderators
Member List
-
RE: Historical API: Missing Data intermittentlyposted in Bugs
Hi @pradyumnapp
Please let us know what error your facing with error screenshot.
-
RE: unable to place orders even getting below errorposted in Python SDK
Please test this use case in your postman and please confirm.
-
RE: urgently need help to whitelist IPposted in Python SDK
@bhuvan-official please use "New Login" flow here - https://smartapi.angelone.in/publisher-login/v2/login/
-
RE: Whitelisted IP Not Working for Order Placementposted in General Discussion
@chandu-0 please share your client code to check the issue.
-
New Update: Trade in Cautionary Scrips via SmartAPIposted in General Discussion
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 -
-
RE: java sdk TOTPposted in General Discussion
Hi @9868072301
Are you passing 4 digit pin in password parameter ?
-
RE: SmartAPI is giving cautionary error on lot of stock AB4036posted in Python SDK
@bh_nil This will be unblocked soon with a workaround.
-
RE: java sdk TOTPposted in General Discussion
Please do check are you passing appropriate 6 digit TOTP code from authenticator app.