Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. Moderator_3
    M
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Moderator_3

    @Moderator_3

    administrators

    0
    Reputation
    344
    Posts
    91
    Profile views
    4
    Followers
    0
    Following
    Joined Last Online

    Moderator_3 Follow
    Global Moderator administrators

    Best posts made by Moderator_3

    • RE: Time duration taken processing order

      Hello @dsomanath1812
      12 to 13 sec is a random one usually it will take atmost 1 or 2 sec only
      Regards,
      SmartAPI Team

      posted in Bugs
      M
      Moderator_3
    • RE: Doesn't Have slice order API

      @RahulKM

      Thanks for the suggestion.
      For now , you can use the loop functionality to achieve the same.

      Regards,
      SmartAPI Team

      posted in General Discussion
      M
      Moderator_3
    • RE: Session Termination

      Hello @jaideep-siddula

      Can you please use the logout API with the hlep of below attached docs
      https://smartapi.angelbroking.com/docs/User#logout

      Regards,
      SmartAPI Team

      posted in Python SDK
      M
      Moderator_3
    • RE: Option Greek not returning a response

      Hi @ruchitgoswami5 Kindly check now we get the data. If not kindly let us know here.

      Regards,
      SmartAPI Team.

      posted in Test
      M
      Moderator_3

    Latest posts made by Moderator_3

    • Closing Auction Session (CAS): Upcoming Changes from 03 Aug 2026

      What is CAS?

      SEBI has introduced a new 20-minute auction window at the end of the trading day to determine the closing price for stocks that have F&O contracts. This replaces the earlier method of using the last 30 minutes of continuous trading to arrive at the closing price. CAS goes live from 03 Aug 2026.

      What are the changes in schedule and timing?

      The updated market timings are as follows:

      1. 3.15-3.20 pm: Reference price is calculated. Order entry via SmartAPI will be rejected in this phase.

      2. 3.20-3.25 pm: Limit and Market orders can be placed, modified, or cancelled.

      3. 3.25-3.30 pm: No changes or cancellations on Market Orders. Limit orders can still be placed/modified. Random close anytime between 3:28 pm and 3:30 pm.

      4. 3.30-3.35 pm: Orders are matched against each other, and the closing price is set.

      5. 3.35-3.50 pm: Transition from CAS to Post-closing session

      6. 3.50-4.00 pm: Trades settle at the Equilibrium Price discovered in the auction.

      What order type restrictions will be in place?

      • Stop-loss and Iceberg orders for CAS-eligible stocks are disallowed between 3:15-3:40 pm.

      • After 3:25 pm, Market orders can no longer be modified or cancelled – only added or changed as Limit orders.

      • F&O trading in NFO and BFO will be extended till 3:40 pm on all trading days.

      • Changes to post-closing session apply to all stocks, regardless of whether they are CAS-eligible or not.

      Changes in Auto-Square Off Timings

      For intraday trades, the auto-square off timings will see the following changes from 03 Aug 2026.

      • Equity Robo Orders: 3:05 pm

      • Equity MIS Orders: 3:10 pm

      • Equity F&O Orders: 3:20 pm

      How to check if a stock is CAS-eligible?

      A new field, is_cas_enabled, is now available in the instrument master response. Check out the sample:

      {  
       
        "token" : "99926000",  
       
        "symbol" : "Nifty 50",  
       
        "name" : "NIFTY",  
       
        ...  
       
        "is_cas_enabled" : true 
       
      }
      

      A new field, referenceLimitPrice in our Market Data API can be used to get the Reference Price. Here’s a sample response:

      {  
       
      "status": true,  
       
      ...  
       
      "high": "191.25",  
       
      "low": "185",  
       
      "close": "187.80",  
       
      "referenceLimitPrice": "191",  
       
      }
      

      What are “Reference Price” and “Equilibrium Price”?

      The Reference Price is fixed at the start of CAS – it's the VWAP of trades between 3:00-3:15 pm (or LTP/previous close if no trades), and it sets the ±3% band within which CAS orders can be placed.

      The Equilibrium Price is discovered at the end of CAS – it's the price at which the maximum quantity of orders placed during the auction get matched, using volume maximisation.

      In short: Reference Price is the starting boundary for the auction, Equilibrium Price is its outcome. The Equilibrium Price becomes the stock's closing price for the day; if none is discovered, the Reference Price is used instead.

      Where to get more detailed information?

      You can view our full API documentation here: https://smartapi.angelone.in/docs/CASDoc

      For additional reading:

      “NSE To Bring Closing Auction Session: What Does It Mean for Stock Prices and Investors?” on Angel One

      “SEBI Introduces Closing Auction Session to Enhance Equity Market Price Discovery” on Angel One

      BSE’s official circular published on 10 Jun 2026

      NSE’s official circular published on 29 May 2026

      SEBI’s official circular published on 16 Jan 2026

      posted in General Discussion
      M
      Moderator_3
    • SmartAPI Websocket

      How to use smartapi websocket connections?

      posted in General Discussion
      M
      Moderator_3
    • Websocket documentation

      How to use websocket documentation?

      posted in General Discussion
      M
      Moderator_3
    • RE: Doesn't Have slice order API

      @RahulKM

      Thanks for the suggestion.
      For now , you can use the loop functionality to achieve the same.

      Regards,
      SmartAPI Team

      posted in General Discussion
      M
      Moderator_3
    • RE: Invalid TOTP Error Code AB1050

      @vinaykush

      Attaching a sample code for generating TOTP using pyotp.

      import pyotp as tp

      Define your secret key

      secret_key = "SECRET CODE HERE" # Replace this with your actual secret key

      Generate TOTP

      totp = tp.TOTP(secret_key)
      current_otp = totp.now()

      Regards,
      SmartAPI Team

      posted in Python SDK
      M
      Moderator_3
    • RE: Getting Invalid TOTP/Token error in generateSession method call

      @brajalal

      TOTP expires within a minute.
      Storing a TOTP in env variable will not work

      Regards,
      SmartAPI Team

      posted in Bugs
      M
      Moderator_3
    • RE: Ordertag character length restricted to 15 in the placeOrder

      Hi @ravitandur

      Currently, OrderTag characters restricted to 15 characters if it goes beyond 15 characters will get rejected in Angel One.

      Regards, Smart API Team

      posted in General Discussion
      M
      Moderator_3
    • RE: Please share the "Order Status List" for Inteaday Trading work-flow stages.

      Hi @Rakhi

      Please use Order Book API to get to know order status.

      API URL :

      https://apiconnect.angelone.in/rest/secure/angelbroking/order/v1/getOrderBook

      Please refer doc to consume order book API.
      https://smartapi.angelbroking.com/docs/Orders

      posted in NodeJS SDK
      M
      Moderator_3
    • RE: "error_code":"AB9019 "

      Hi @sac

      Informed respective team about this issue will update you soon on this.

      Regards, Smart API Team

      posted in Test
      M
      Moderator_3
    • RE: Upticks and Downticks should be greater than given percentage!

      Hi @krinavmakwana

      Please share actual request, response & client id along with date & time order placed.

      Regards, Smart API Team

      posted in General Discussion
      M
      Moderator_3