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

    • W

      Historic API not working
      Bugs • • whemant  

      32
      16
      Votes
      32
      Posts
      254
      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'
    • R

      GTT Orders not placing
      Python SDK • • Ravi Krishnan  

      31
      0
      Votes
      31
      Posts
      193
      Views

      R

      @admin Thanks for your response.
    • T

      Not able to connect to the websocket, please help!
      General Discussion • • trader_noob  

      31
      0
      Votes
      31
      Posts
      90
      Views

      M

      Hello @Sanky, @trader_noob, We have fixed this from our end. Please let us know if you are still facing this issue. You can try using sample code on our github repo for the same. Please write to us at smartapi@angelbroking.com for any other support. Regards SmartAPI Team
    • P

      LTP quote not current`
      Bugs • • pari  

      30
      4
      Votes
      30
      Posts
      114
      Views

      V

      @Ashutosh01 does your getLTP working fine
    • S

      Not able to login
      NodeJS SDK • • ShamimAAnsari  

      29
      0
      Votes
      29
      Posts
      200
      Views

      R

      @SpandanMn No, not got any solution yet.
    • S

      Invalid TOTP
      General Discussion • • SaralaKannan  

      29
      0
      Votes
      29
      Posts
      379
      Views

      E

      Kite shows the invalid TOTP error when the time on the devices is not in sync. To sync the time on the devices, follow these steps: ... This has been observed when the appliance or the Core Ball user device/App and their correct time/time zone are not in sync. TOTP is an algorithm that computes a one-time password from a shared secret key this is done in the form of a QRCode) and the current timeTOTP stands for Time-based One-Time Password, and requires access to an accurate clock in order for the codes to be generated correctly. That would have been it (my new computer had a very incorrect time lmao).
    • J

      cannot login even after adding correct password and api key
      Bugs • • Jeet Pattani  

      28
      0
      Votes
      28
      Posts
      58
      Views

      J

      @admin DONE 👍
    • N

      Facing problem when streaming the live data
      General Discussion • • nayan_nandi  

      27
      0
      Votes
      27
      Posts
      186
      Views

      M

      It's working now I had given the wrong API key please check the API key once @nayan_nandi
    • C

      API down
      Bugs • • c_harish  

      27
      0
      Votes
      27
      Posts
      97
      Views

      H

      @harish @admin The connections gets lost in between for brief period and again it gets established. The issue occurs repeatedly. Now connection is established again. Do check and provide a permanent solution to this.
    • J

      Livefeed using sockets
      Python SDK • • jiwan1986  

      27
      0
      Votes
      27
      Posts
      641
      Views

      A

      @vishant as I can see you have implemented using js please can you share your code?
    • P

      "Order placement failed: 'NoneType' object is not subscriptable"
      Python SDK • • prasan  

      26
      0
      Votes
      26
      Posts
      314
      Views

      L

      @ksquare in your case, I believe it's due to incorrect quantity. Please try using quantity as 50 instead of 1.
    • M

      How to sync own amibroker AFL with system for algo trading?pls help
      General Discussion • • Manglesh  

      25
      0
      Votes
      25
      Posts
      75
      Views

      M

      @admin ![alt text](![image url](image url))Screenshot (152).png DONE
    • M

      unable to login - SSLError
      Python SDK • • Manoj123  

      25
      0
      Votes
      25
      Posts
      173
      Views

      A

      @ms said in unable to login - SSLError: any update on this ? This has been already resolved.
    • A

      Important Announcement: Change in Angel One Login Policy
      General Discussion • • admin  

      25
      0
      Votes
      25
      Posts
      1102
      Views

      A

      @Rakhi, i am also facing the same issue but unable to resolve. can you just let us know the process to resolve. Jupiter Error.jpg
    • P

      Unable to login
      Bugs • • pari  

      25
      4
      Votes
      25
      Posts
      53
      Views

      S

      Hi @talk2ajay, This was an intermittent issues and was resolved on immediate basis. Feel free to reach out on forum or on smartapi@angelbroking.com for any other concerns. Happy to help, thank you.
    • N

      Issue with tick data when large number of tokens are subscribed
      Bugs • • nitish.bane  

      25
      0
      Votes
      25
      Posts
      150
      Views

      M

      Hello @DevPatel There is a limit like @chetansuri as mentioned. For each client code maximum 3 parallel sessions are allowed and 1000 token as well. Regards, SamrtAPI Team
    • A

      How to get fed_token and how to use token and task and how to subscribe and unsubscribe a script?????
      General Discussion • • ashmita_  

      23
      0
      Votes
      23
      Posts
      463
      Views

      A

      Hi @rjamitsharma01 You need to find a feasible way to do it in java its a one time process let me text you in pc.
    • P

      not receiving proper WebSocket data
      Bugs • • pavank  

      23
      0
      Votes
      23
      Posts
      177
      Views

      J

      @admin facing same issue, only receving tm data [{"tvalue":"16/02/2023 11:35:12","name":"tm"}] [{"tvalue":"16/02/2023 11:35:13","name":"tm"}] [{"tvalue":"16/02/2023 11:35:14","name":"tm"}] [{"tvalue":"16/02/2023 11:35:15","name":"tm"}] Here is code : var ws =new websocket('', '',"nse_cm|2885", "mw"); ws.connection().then(() => { ws.runScript("nse_cm|2885&nse_cm|1594&nse_cm|11536", "mw|sf|dp"); setTimeout(function () { ws.close() }, 30000) }); ws.on('tick', receiveTick); function receiveTick(data) { console.log(data); }
    • A

      Wrong historical data
      Bugs • historical data • • Asif Khan  

      23
      0
      Votes
      23
      Posts
      125
      Views

      A

      HI @ikishor99 this issue is already noted on another thread our team is working on this.
    • A

      Websocket to obtain Order Status
      Python SDK • • Ayush Kumar  

      23
      0
      Votes
      23
      Posts
      346
      Views

      S

      @rajanprabu Were you able to solve the issue and get the order update. can you please share the sample code if possible.