Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    New Update: Trade in Cautionary Scrips via SmartAPI

    General Discussion
    1
    1
    8
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      admin last edited by

      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:

      1. If scripconsent is not included:
        You can trade only in scrips that do not have any cautionary message.

      2. If scripconsent = "yes":
        You can trade in all scrips, including those with cautionary messages.

      3. 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

      1 Reply Last reply Reply Quote 0
      • Pinned by  A admin 
      • First post
        Last post