Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • D

      websocket connection
      Python SDK • • dvsaraf5

      1
      0
      Votes
      1
      Posts
      4
      Views

      No one has replied

    • I

      Historial getOIData Api Error (Only BFO Expiries) - Something Went Wrong
      Bugs • • itspocx

      2
      0
      Votes
      2
      Posts
      3
      Views

      I

      @admin

      Update.

      In NFO -
      FUTSTK & OPTIDX is working.
      FUTIDX & OPTSTK Not working

    • D

      Development
      Python SDK • • Dipankar

      2
      0
      Votes
      2
      Posts
      9
      Views

      A

      @dipankar For testing, you can just ask the program to note down scrip, entry price, exit price, entry time and exit time in CSV. you will not need a static IP for that.

    • A

      ERROR IN EXECUTION IN TRADETRON, WHAT TO DO ?
      General Discussion • • AAAA401828

      2
      0
      Votes
      2
      Posts
      4
      Views

      A

      @aaaa401828 SmartAPI is meant for the tech savvy users to write their own code and connect it to Angel One. Angel One does not support any third party algo provider.

    • A

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

      3
      0
      Votes
      3
      Posts
      56
      Views

      T

      @admin sir, is there any way to get 20 depth data by changing smartwebsocketexamplev2.py coding.
      Please 🙏🏼 Tell.

    • T

      how to get Nifty50 all equity tokens?
      General Discussion • • tanmoydev

      3
      0
      Votes
      3
      Posts
      11
      Views

      T

      @darshil611
      It will fetch all nifty instruments like options and future of nifty. not Nifty 50.

    • S

      not able to get ltp data using SmartConnect
      Python SDK • • sshah

      2
      0
      Votes
      2
      Posts
      6
      Views

      N

      You are using SmartConnect directly from library. Instead create a login function that logs in with the API key like below

      ANGEL_API_KEY = your_API_key
      smart_api = SmartConnect(api_key=ANGEL_API_KEY)

      and you can use smart_api.ltpData(...)

      it'll work. You're welcome.

    • S

      Whenever I try to authenticate via the SmartAPI Python SDK, the server returns: “LoginByPassword is not allowed. Please switch to Login by MPIN now.”
      Python SDK • • subhransu

      5
      0
      Votes
      5
      Posts
      16
      Views

      S

      @aabraham19
      "Your Client ID","Your PIN","Your totp here")
      use pin inplace of password you are ok. write if you cant solve this issue

    • S

      websocket 2.0 , extact binary data in string
      Test • • SmartApi 0

      3
      0
      Votes
      3
      Posts
      20
      Views

      S

      @smartapi-0
      hello can you help me to get use websocket 2.0. infact so far failed to use ws even in version1. need some help .i am new coder.

    • A

      Important Updates to SmartAPI in Compliance with SEBI Guidelines
      General Discussion • • admin

      38
      0
      Votes
      38
      Posts
      272
      Views

      R

      @r345656 said in Important Updates to SmartAPI in Compliance with SEBI Guidelines:

      Me, my son and my husband, all have individual angel broking account. I purchased static IP from my ISP and registered with my API. now if I do the same for my son or husband, I get error Primary Static IP is already associated with another app.

      Those who leave in joint family or who do it from office using office IP, how we will use?

      @admin Can you please guide on this?

    • R

      m2mrealized had incorrect data in the response of smartApi.rmsLimit()['data']
      Python SDK • • rakeshkr114

      1
      0
      Votes
      1
      Posts
      4
      Views

      No one has replied

    • L

      Regarding IP address
      Bugs • • Latheesh

      1
      0
      Votes
      1
      Posts
      8
      Views

      No one has replied

    • N

      wrong history data
      Bugs • • npsingh

      1
      0
      Votes
      1
      Posts
      11
      Views

      No one has replied

    • C

      Receiving CORS error while creating new app
      Bugs • • chimntu

      4
      0
      Votes
      4
      Posts
      10
      Views

      C

      @admin Still same issue tried removing cache and in different browsers

    • N

      ONE_MINUTE Interval Historical Data inconsistent
      Bugs • • Nimish05Z

      3
      0
      Votes
      3
      Posts
      15
      Views

      N

      @admin

      params = { "exchange": "NSE", "symboltoken": "99926000", "interval": "ONE_MINUTE", "fromdate": "2025-01-01 09:15", "todate": "2025-01-31 15:30", } data = smartApi.getCandleData(params) data = pd.DataFrame(data["data"], columns=["datetime", "open", "high", "low", "close", "volume"]) print(data) datetime open high low close volume

      0 2025-01-02T13:25:00+05:30 24118.20 24121.95 24109.65 24121.70 0
      1 2025-01-02T13:26:00+05:30 24121.75 24129.75 24116.85 24117.40 0
      ... ... ... ... ... ... ...
      7998 2025-01-31T15:28:00+05:30 23529.15 23545.90 23529.15 23536.90 0
      7999 2025-01-31T15:29:00+05:30 23537.80 23546.80 23529.45 23533.85 0

    • A

      Static IP based API keys now live - Old flow still supported temporarily
      General Discussion • • admin

      11
      1
      Votes
      11
      Posts
      69
      Views

      P

      @admin Ok. Thanks for the clarification. Also please update your documentation for rate limits. The documentation still says 20 orders per second.

    • A

      Ticker disconnected and error during reconnect
      Java SDK • • anand.n04

      2
      0
      Votes
      2
      Posts
      10
      Views

      A

      @anand-n04 The status line is: HTTP/1.1 429 Too Many Requests.

      One client is only allowed to create 3 connections only.

    • G

      How to find Stock-EQ Symbol's Token
      Python SDK • • Gaurang

      3
      0
      Votes
      3
      Posts
      19
      Views

      D

      @gaurang

      instrument_url = 'https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json'

      response = urllib.request.urlopen(instrument_url)
      instrument_list = json.loads(response.read())

      def token_lookup(ticker, exchange='NSE'):
      for i in instrument_list:
      if i['symbol'] == ticker and i['exch_seg'] == exchange:# and i['symbol'].split('-')[-1] == 'EQ':
      return i['token']

      token_lookup('NIFTY50')
      def symbol_lookup(token, exchange='NSE'):
      for i in instrument_list:
      if i['token'] == token and i['exch_seg'] == exchange and i['symbol'].split('-')[-1] == 'EQ':
      return i['name']

    • D

      How to square off option order
      General Discussion • • darshil611

      2
      0
      Votes
      2
      Posts
      14
      Views

      D

      @admin @admin123 Plesae answer my question

    • S

      Intraday surveillance stock
      General Discussion • • Sivavalli1457

      1
      0
      Votes
      1
      Posts
      8
      Views

      No one has replied