Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. Categories
    3. General Discussion
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • A

      Deprecation of 20 Market Depth from WebSocket 2.0 – Effective April 25, 2025
      • admin

      2
      0
      Votes
      2
      Posts
      44
      Views

      M

      @admin

      Instrument List Url is 503 Service Temporarily Unavailable since 16-July 2025 Morning. When you guys are solving this ?

      https://margincalculator.angelone.in/OpenAPI_File/files/OpenAPIScripMaster.json

      f120fe06-b121-4f73-a8c0-c3929d67f79e-image.png

    • A

      Update on AMO and Normal Order API Changes
      • admin

      2
      0
      Votes
      2
      Posts
      60
      Views

      N

      @admin
      Subject: How to Monitor AMO Orders via WebSocket in SmartAPI?

      Dear SmartAPI Team and Community,

      I have a query regarding the recent update where AMO (After Market Orders) should now be placed using "variety": "NORMAL" instead of "AMO".

      As per the update, the system internally handles both AMO and regular orders. However, I’ve noticed a difference in behavior when monitoring orders via WebSocket.

      My Observations & Questions:
      Live Market Orders Are Monitored, AMO Orders Are Not:
      When I place an order during live market hours, it is properly monitored and I receive updates via WebSocket (order updates/trade updates).
      But when I place an order after market hours (which is treated as an AMO order), I do not receive any updates via WebSocket.

      Why are AMO orders not visible in WebSocket updates?
      I want to monitor all orders in real time, including AMO orders, but currently I don’t get any WebSocket updates for AMO orders after placing them.

      How can I identify whether an order is AMO or not?
      Since we now pass "variety": "NORMAL" for all orders (including AMO), how can we distinguish AMO orders from regular ones?
      Is there any field in the order book or response that indicates whether an order is AMO?

      I want to ensure that even AMO orders are tracked properly. Any guidance or clarification would be really helpful.

      Thank you for your support.

    • A

      Blocking of equity scrips falling under surveillance measures from placeorder API from Friday 24th Jan, after market hours
      • admin

      22
      -8
      Votes
      22
      Posts
      321
      Views

      A

      Finally Leaving the Angel One Ecosystem. Due to careless behaviour..

    • A

      Modification of orders placed with order tag
      • admin

      1
      0
      Votes
      1
      Posts
      41
      Views

      No one has replied

    • A

      Migration of SmartAPI to Angel One Domain
      • admin

      10
      0
      Votes
      10
      Posts
      385
      Views

      A

      I wanted to bring to your attention that we are currently using the SmartAPI NodeJS library and WebSocket Streaming 2.0. As we are utilizing the WebSocket URL

      wss://smartapisocket.angelone.in/smart-stream

      it is essential to ensure we are updated on changes in the corresponding library.

      Additionally, I noticed that the API URL in our NodeJS code might be outdated. Below is the current configuration:

      module.exports.API = { root: 'https://apiconnect.angelbroking.com', login: 'https://smartapi.angelbroking.com/publisher-login', // ... other endpoints }

      Please check if there are any required updates to these endpoints and let me know if you have suggestions or if there's any action needed on our part.

      Thank you for your attention to this matter.

    • M

      List of Scrips allowed for Intraday Trading
      • Moderator_1

      4
      0
      Votes
      4
      Posts
      302
      Views

      B

      @Roopa-B said in List of Scrips allowed for Intraday Trading:

      hai this is roppab nayak id is B491536 my smart api is blocked for treading kindly un block![
      This is Roppab Nayak, and my Smart API ID is B491536. My trading API seems to be blocked, and I am unable to proceed with any transactions. Kindly look into this issue and my API at the earliest.

    • M

      Exchange Order ID now available in Order Book Response
      • Moderator_1

      6
      1
      Votes
      6
      Posts
      178
      Views

      D

      list item
    • M

      Changes in API Rate Limit
      • Moderator_1

      16
      2
      Votes
      16
      Posts
      607
      Views

      A

      @anushakasturi2 please go through the features section on the websocket 2.0 page. https://smartapi.angelone.in/docs/WebSocket2

    • M

      Changes in JWT Token Validity
      • Moderator_1

      2
      0
      Votes
      2
      Posts
      158
      Views

      S

      Extending the validity period of a JWT token beyond what is advised might increase the risk of security breaches by creating a larger opening for possible attacks such as replay or token theft. Following recommended best practices for token lifetimes is essential to keeping a strong security posture.👓

    • M

      Announcing Top Gainers/ Losers, PCR and OI BuildUp APIs for SmartAPI Users
      • Moderator_1

      16
      0
      Votes
      16
      Posts
      364
      Views

      V

      @Moderator_1 said in Announcing Top Gainers/ Losers, PCR and OI BuildUp APIs for SmartAPI Users:

      https://apiconnect.angelbroking.com/rest/secure/angelbroking/marketData/v1/OIBuildup

      is this working for anybody?

    • M

      Announcing Option Greeks API for SmartAPI Users
      • Moderator_1

      27
      0
      Votes
      27
      Posts
      548
      Views

      I

      @itsjha said in Announcing Option Greeks API for SmartAPI Users:

      This API is working for me, but when i try to get the weekly option greeks for Nifty options.
      It returns the monthly data.

      This is one of the reponse executed at "250703 13:37:03" - {'name': 'NIFTY', 'expiry': '10JUL2025', 'strikePrice': '26400.000000', 'optionType': 'CE', 'delta': '0.192700', 'gamma': '0.000300', 'theta': '-18.523500', 'vega': '9.739900', 'impliedVolatility': '11.540000', 'tradeVolume': '81490.00'}

      For the weekly expiry option with strikeprce 26400CE for 10th July, the Delta value returned in 0.192700, which is the delta value for monthly expiry (31 July). Kindly look into it.

      @administrators - Please clarify.

    • M

      Announcing Brokerage Calculator API for SmartAPI users
      • Moderator_1

      11
      0
      Votes
      11
      Posts
      238
      Views

      A

      Hello Team,

      The angelone brokerage calculator does not give the same charges as online, can you check https://www.angelone.in/calculators/brokerage-calculator ?

      Thanks

    • M

      Announcing EDIS API for SmartAPI Users
      • Moderator_1

      5
      0
      Votes
      5
      Posts
      208
      Views

      R

      @Moderator_1 can we authorize all stocks of a user for a day?

    • M

      Announcing Search Scrip API endpoint for Smart API Users
      • Moderator_1

      5
      0
      Votes
      5
      Posts
      421
      Views

      D

      @Moderator_1

      Is there a way that calling this api without symbol.
      Like if we provide NSE it should return with all NSE symbol alone?

    • A

      Live Market Data API - /quote Endpoint: Enhanced with 50-Symbol Bulk Fetch and 1 Request Per Second Rate Limit
      • admin

      7
      0
      Votes
      7
      Posts
      405
      Views

      D

      Api activate

    • A

      BSE-BFO Futures and Options Now Accessible through SmartAPI
      • admin

      6
      0
      Votes
      6
      Posts
      185
      Views

      K

      @admin said in BSE-BFO Futures and Options Now Accessible through SmartAPI:

      1127310

      What is the Token for SenSex, I am trying subscribing for sensex data, but i can't find any token, Token in master script"99919000" gives error, of token size out of index,
      NSE Indices working fine,

    • A

      New Real-Time Order Updates via WebSocket from tns.angelone.in/smart-order-update
      • admin

      6
      0
      Votes
      6
      Posts
      245
      Views

      K

      Hi, the data socket allows authentication via query params. Is there some provision to connect to this websocket via query params? The query params method is required to connect via browsers. Browsers can't connect to websocket using auth headers.
      Please let us know the way to connect to order socket via browser(If there is any), and if there's not, kindly let us know if or not its in the pipeline and whats the ETA.

    • A

      Important Update: Individual Order Status API using Unique Order ID (10 Requests/Second)
      • admin

      16
      1
      Votes
      16
      Posts
      444
      Views

      R

      @godboleamit

      orderid is just like your roll number (consider student as an order, when he moves up from one class to next class, his roll number gets changed, but his enrollment number remain same)

      UniqueOrderId is the super-level id by which you can track all the modification histry related to that order.

      OrderId is for the individual event with that order, and with that you can track only the single modification history.

      thanks

    • A

      Release Note: Free Historical Data Access for Indices, NSE, NFO, BSE, BFO, MCX, and CDS with SmartAPI!
      • admin

      18
      0
      Votes
      18
      Posts
      586
      Views

      V

      is anyone able to pull historical data?
      I am always getting like this "

      [I 250211 00:55:50 Trading:157] Analyzing SBIN-EQ...
      [W 250211 00:55:50 Trading:93] No data for 3045. Response: {'success': False, 'message': 'Invalid Token', 'errorCode': 'AG8001', 'data': ''}
      [E 250211 00:55:50 Trading:115] No historical data for SBIN-EQ
      [I 250211 00:55:52 Trading:157] Analyzing RELIANCE-EQ...
      [W 250211 00:56:01 Trading:93] No data for 2885. Response: {'success': False, 'message': 'Invalid Token', 'errorCode': 'AG8001', 'data': ''}
      [E 250211 00:56:01 Trading:115] No historical data for RELIANCE-EQ
      [I 250211 00:56:03 Trading:157] Analyzing INFY-EQ...
      [W 250211 00:56:03 Trading:93] No data for 1594. Response: {'success': False, 'message': 'Invalid Token', 'errorCode': 'AG8001', 'data': ''}
      [E 250211 00:56:03 Trading:115] No historical data for INFY-EQ
      [I 250211 00:56:05 Trading:157] Analyzing INDIGO-EQ...
      [W 250211 00:56:05 Trading:93] No data for 2837. Response: {'success': False, 'message': 'Invalid Token', 'errorCode': 'AG8001', 'data': ''}

    • A

      Calculate Margin Requirements with SmartAPI's New Margin Calculator API
      • admin

      9
      0
      Votes
      9
      Posts
      414
      Views

      P

      Hi,

      we are trying to calculate margin using margin calculator api with body as

      {"positions":[{"exchange":"NFO","token":"51001","qty":75,"price":130.4,"producttype":"CARRYFORWARD","tradetype":"BUY","ordertype":"MARKET"}]}

      but getting this response

      { "message": "Null or Empty Margin Data", "errorcode": "AB4022", "status": false, "data": null }

      please help in this issuea