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
    • N

      wrong history data
      Bugs • • npsingh

      1
      0
      Votes
      1
      Posts
      9
      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
      12
      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
      61
      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
      9
      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.

    • 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

      4
      0
      Votes
      4
      Posts
      12
      Views

      A

      @subhransu Did you manage to get this error fixed?

    • G

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

      3
      0
      Votes
      3
      Posts
      18
      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']

    • T

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

      2
      0
      Votes
      2
      Posts
      8
      Views

      D

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

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

      instrument_list = [i for i in instrument_list if i['name'] == "NIFTY"]

    • 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

    • S

      Does smartapi provide a way to fetch OI data?
      General Discussion • • swogatpradhan22

      2
      0
      Votes
      2
      Posts
      13
      Views

      A

      @swogatpradhan22 It does provide OI data. For scrips where OI is not applicable, eg. cash, the OI will be shown as 0.

    • A

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

      37
      0
      Votes
      37
      Posts
      268
      Views

      R

      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?

    • K

      Best Practice for Squaring Off F&O Position with Pending SL Order via SmartAPI?
      General Discussion • • Konda

      2
      0
      Votes
      2
      Posts
      16
      Views

      D

      @konda can you write one code example for it

    • P

      Security is under the following list of cautions:
      General Discussion • • Popular003

      2
      0
      Votes
      2
      Posts
      10
      Views

      A

      @popular003 As of now, you will have to trade via web or app in such stocks. We will be coming up with a solution soon.

    • D

      Unable To Place Cover Orders.
      General Discussion • @admin • • Dibyendu1997

      2
      0
      Votes
      2
      Posts
      9
      Views

      A

      @dibyendu1997 we do not support cover orders via smartapi

    • K

      Best Practice for Squaring Off F&O Position with Pending SL Order via SmartAPI?
      Python SDK • • Konda

      1
      0
      Votes
      1
      Posts
      10
      Views

      No one has replied

    • K

      UNABLE_TO_VERIFY_LEAF_SIGNATURE authorization error WebSocket Node
      Bugs • • Konda

      2
      0
      Votes
      2
      Posts
      16
      Views

      No one has replied

    • P

      Invalid API Key - "errorCode":"AG8004"
      Bugs • • PareshBhatiya

      3
      0
      Votes
      3
      Posts
      15
      Views

      P

      @admin Same API Key and auth token is working fine for other API like get order status and other. only getting error in place order.

    • M

      Order Place Failing
      Python SDK • • mahidaparth7

      2
      0
      Votes
      2
      Posts
      6
      Views

      A

      @mahidaparth7 please use 'producttype': 'INTRADAY' instead of 'MIS'

    • M

      API Invalid token Error errorCode AG8001
      Bugs • • mryash

      2
      0
      Votes
      2
      Posts
      16
      Views

      A

      @mryash AG8001 comes due to invalid token. You need to log in daily and create a new JWT token daily to be able to use other APIs.