Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. Popular
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All Time
    • Day
    • Week
    • Month
    • A

      "YOUR USER ID OR PASSWORD IS INVALID","errorcode":"AB1007"
      General Discussion • • admin

      1262
      0
      Votes
      1262
      Posts
      5014
      Views

      9

      @kripabhat said in "YOUR USER ID OR PASSWORD IS INVALID","errorcode":"AB1007":

      I am also facing same issue. My account is new account created online not attached to any sub-brokers. Please check client code K184649

    • S

      USER ID OR PASSWORD IS INVALID , error code : 'AB1007'
      Python SDK • • sudhakar

      123
      0
      Votes
      123
      Posts
      527
      Views

      S

      @admin PLEASE MIGRATE MY ACCOUNT. USER ID : S1539075

    • R

      Login problem
      Bugs • • rajusuman

      113
      0
      Votes
      113
      Posts
      457
      Views

      A

      @amitpanchall The login API is working fine, please share your error.

    • A

      Guide to secure your SmartAPI Account with two factor authentication
      General Discussion • • admin

      104
      0
      Votes
      104
      Posts
      1963
      Views

      S

      @nikaashpuri
      I also faced similar issue. After upgrading pyotp the issue is resolved for me

      $pip install --upgrade pyotp

    • R

      NIFTY and BANKNIFTY symbol token are missing
      Test • • ravitandur

      62
      0
      Votes
      62
      Posts
      684
      Views

      R

      Team Team,

      I cant find the Nifty and BANKNIFTY Futures symbol Token, from the Master API/Jason : https://margincalculator.angelone.in/OpenAPI_File/files/OpenAPIScripMaster.json

      I can only see Nifty Futures Token as 5, 13,14 as NIFTY NEAR MONTH, MID MONTH AND FAR MONTH Respectively but i am not able to retrieve any data.

      while running my code Its strange that i am not getting any error although the files in blank.

      Please note that i am able to get the data for other symbols like Stocks

      #SymbolToken

    • M

      Account Migration
      General Discussion • • mbolneni

      52
      0
      Votes
      52
      Posts
      316
      Views

      A

      hi @antonyragunath kindly fill below form to migrate your account
      https://docs.google.com/forms/d/e/1FAIpQLSdgpCiDhSBa_bsKsec002e9unbeQkipOLFAKW7DzPvmiowsaw/viewform

    • J

      Unable to Place Stop Loss Order
      Java SDK • • jainullah

      50
      0
      Votes
      50
      Posts
      447
      Views

      N

      my Inputs
      {"tradingsymbol": "BANKNIFTY12JAN2341800PE", "symboltoken": "40708", "quantity": 25, "variety": "STOPLOSS", "transactiontype": "BUY", "ordertype": "STOPLOSS_LIMIT", "producttype": "CARRYFORWARD", "duration": "DAY", "exchange": "NFO", "triggerprice": "85.0"}

      Error :
      {'status': False, 'message': 'INVALID PARAMETERS', 'errorcode': 'AB1007', 'data': {'script': 'BANKNIFTY12JAN2341800PE', 'orderid': None}}

      Please hep me to solve this issue

    • S

      AB1010: Invalid Session or Session is Expired Please Re-login
      General Discussion • • StocksDeveloper

      50
      0
      Votes
      50
      Posts
      244
      Views

      tester1234

      @stocksdeveloper https://evil.com

    • A

      User Feedback - WebSocket 2.0 Beta Rollout – Python Language
      Python SDK • • admin

      45
      0
      Votes
      45
      Posts
      2255
      Views

      D

      @jaideep-siddula @DIYD57519, I'm also getting "attempting to resubscibe/reconnect", is there any solution, as I've drilled a bit and got Handshake status 404 not found.

    • punit

      Web socket scripts stop at random times
      Python SDK • • punit

      43
      0
      Votes
      43
      Posts
      250
      Views

      A

      Hi @pavank we will check it from our end and update you on this.

    • S

      HeartBeats Failed
      General Discussion • • Surya 1

      40
      0
      Votes
      40
      Posts
      291
      Views

      A

      Hi @PandaTrade ok .

    • A

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

      36
      0
      Votes
      36
      Posts
      241
      Views

      A

      Hello SmartAPI Users,

      We are excited to announce that the static IP implementation is now live in accordance with SEBI’s circular on the “Safer Participation of Retail Users in Algorithmic Trading,” .

      For now, both types of API keys — with static IP and without static IP — will continue to work. However, all users are expected to migrate to the new static IP-based API key as soon as possible.

      In this new setup:

      Orders must be placed only from the IP address you have whitelisted with Angel One. For APIs other than Orders & GTT, using a static IP is not mandatory.

      How to create a Static IP based API key:

      Visit smartapi.angelone.in and select “New Login”. Create a new API key by filling in the required details. Update your code to use this newly generated API key.

      Important Notes:

      Order requests are now capped at 9 orders per second for both old and new API keys. To edit or stop using an old API key, use login (not new login) from smartapi.angelone.in All users will be logged out daily at 12 midnight for both old and new API keys. Only IPV4 static IP is supported for now, we will support IPV6 Static IPs in the near future.

      Regards,
      SmartAPI Team

    • J

      Open interest in websocket
      Python SDK • • jiwan1986

      35
      0
      Votes
      35
      Posts
      513
      Views

      A

      @Deb88 duddy can you tell me how can solve my this problem Attempting to resubscribe/reconnect...

    • H

      Token List downLoad
      Python SDK • • Heena Shah

      35
      0
      Votes
      35
      Posts
      274
      Views

      S

      @Heena-Shah

      @Heena-Shah said in Token List downLoad:

      Not accepting more than 500 tokens

      I have tried with all FNO stocks ( ~160).. I had no issues with that..

    • A

      AngelBroking get_access_token failed: AB1007 : YOUR USER ID OR PASSWORD IS INVALID | AngelBroking get_access_token failed: AB1007 : YOUR USER ID OR PASSWORD IS INVALID
      General Discussion • • asf

      34
      0
      Votes
      34
      Posts
      240
      Views

      J

      @admin please migrate
      User ID: J314958

    • V

      Invalid TOTP for c#
      General Discussion • • Vishal.naykawala

      34
      1
      Votes
      34
      Posts
      244
      Views

      P

      @saleem its working in c# .net. otp.net is working fine

    • rishi

      smartConnect error
      General Discussion • • rishi

      33
      0
      Votes
      33
      Posts
      143
      Views

      rishi

      @Ashok Thanks Ashok, I will try doing that 👍

    • V

      Error - USER IS BLOCKED FOR TRADING
      General Discussion • • vish_smartapi

      32
      0
      Votes
      32
      Posts
      443
      Views

      M

      Hi @madhubala

      Anyone with Angelone account can consume smartAPI.
      Account migration is not required, Kindly write to us on support@angelbroking.com if you have faced "User is blocker for trading" issue.

      Regards,
      SmartAPI team

    • N

      Error info: Connection to remote host was lost. Connection to remote host was lost.
      General Discussion • websocket • • nahas_n

      32
      0
      Votes
      32
      Posts
      197
      Views

      A

      HI @nahas_n We have reported this to our team.We will update you.

    • W

      Historic API not working
      Test • • whemant

      32
      16
      Votes
      32
      Posts
      263
      Views

      T

      Today whole day I got errors. No trade was placed today
      Leaving Angel and shifting to ICICI or Zerodha
      last 2 days facing issue
      Cant beleive big broker like u can have this for 2 full days!!!!!

      22-Feb-23 09:45:12 : fetch_ohlc_angel() - Getting candles 22-Feb-23 09:45:13 : fetch_ohlc_angel() - Exception occured while fetching OHLC for ticker:NIFTY23FEB23FUT from 2023-02-20 09:45 to 2023-02-22 09:45 Traceback (most recent call last): File "/home/a/.local/lib/python3.10/site-packages/smartapi/smartConnect.py", line 191, in _request data = json.loads(r.content.decode("utf8")) File "/usr/lib/python3.10/json/__init__.py", line 346, in loads return _default_decoder.decode(s) File "/usr/lib/python3.10/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/a/Desktop/angel_st/src/angel_main.py", line 443, in fetch_ohlc_angel data = obj.getCandleData(historic_param) File "/home/a/.local/lib/python3.10/site-packages/smartapi/smartConnect.py", line 416, in getCandleData getCandleDataResponse = self._postRequest( File "/home/a/.local/lib/python3.10/site-packages/smartapi/smartConnect.py", line 225, in _postRequest return self._request(route, "POST", params) File "/home/a/.local/lib/python3.10/site-packages/smartapi/smartConnect.py", line 194, in _request raise ex.DataException("Couldn't parse the JSON response received from the server: {content}".format( smartapi.smartExceptions.DataException: Couldn't parse the JSON response received from the server: b'Access denied because of exceeding access rate' 22-Feb-23 09:45:13 : fetch_ohlc_angel() - Exception: Couldn't parse the JSON response received from the server: b'Access denied because of exceeding access rate' Traceback (most recent call last): File "/home/a/.local/lib/python3.10/site-packages/smartapi/smartConnect.py", line 191, in _request data = json.loads(r.content.decode("utf8")) File "/usr/lib/python3.10/json/__init__.py", line 346, in loads return _default_decoder.decode(s) File "/usr/lib/python3.10/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/a/Desktop/angel_st/src/angel_main.py", line 443, in fetch_ohlc_angel data = obj.getCandleData(historic_param) File "/home/a/.local/lib/python3.10/site-packages/smartapi/smartConnect.py", line 416, in getCandleData getCandleDataResponse = self._postRequest( File "/home/a/.local/lib/python3.10/site-packages/smartapi/smartConnect.py", line 225, in _postRequest return self._request(route, "POST", params) File "/home/a/.local/lib/python3.10/site-packages/smartapi/smartConnect.py", line 194, in _request raise ex.DataException("Couldn't parse the JSON response received from the server: {content}".format( smartapi.smartExceptions.DataException: Couldn't parse the JSON response received from the server: b'Access denied because of exceeding access rate'