Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. Javajp
    3. Posts
    J
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by Javajp

    • RE: Getting "Something Went Wrong, Please Try After Sometime"

      @admin , Gentle reminder-3, any updates on this issue. [client id: J192005]

      posted in Bugs
      J
      Javajp
    • RE: Getting "Something Went Wrong, Please Try After Sometime"

      @admin, gentle reminder-2

      posted in Bugs
      J
      Javajp
    • RE: Getting "Something Went Wrong, Please Try After Sometime"

      @admin , could you pls check if any issue on my account.

      posted in Bugs
      J
      Javajp
    • Getting "Something Went Wrong, Please Try After Sometime"

      Hello smart api team,

      could you please help me on this error, i had scripts working for long time, now suddenly seeing logging in errors. Let me know if you need details.

      'message': 'Something Went Wrong, Please Try After Sometime'
      'errorcode':'AB1004'
      'status': False
      'data': None

      posted in Bugs
      J
      Javajp
    • RE: Tradingview

      not directly, explore on webhooks (ngrok)

      posted in General Discussion
      J
      Javajp
    • RE: How to fetch historical data of indices ?

      Dont think they have it yet.

      posted in General Discussion
      J
      Javajp
    • RE: User Feedback - WebSocket 2.0 Beta Rollout – Python Language

      @admin, the instructions for websocket2.0 seems to be too lengthy, Kindly consider to simplify & add sample like we have it in https://github.com/angel-one/smartapi-python🙏

      posted in Python SDK
      J
      Javajp
    • RE: cannot import name 'SmartConnect' from partially initialized module 'smartapi'

      @Manish-Ashar i think u need to install packages 'smartapi-python' and
      'websocket-client'

      pip install smartapi-python
      pip install websocket-client

      posted in Python SDK
      J
      Javajp
    • RE: Historical Data for BANKNIFTY & NIFTY

      @jupyter i think no even now, las i had tried 3 months back.

      posted in Python SDK
      J
      Javajp
    • RE: User Feedback - WebSocket 2.0 Beta Rollout – Python Language

      Hi @admin,
      In general, Even if hearbeat issue occurs, pls provide a way to clean up websocket & create new websocket OR some kind of self healing stuff.

      posted in Python SDK
      J
      Javajp
    • RE: Getting "Something Went Wrong, Please Try After Sometime"

      @admin, Even i am getting this error in python very frequently, sometimes it works randomly without any change.

      SESSION = SmartConnect(api_key=api_key)
      some_obj = SESSION.generateSession(client_code, pwd)

      'message':'Something Went Wrong, Please Try After Sometime'.
      'errorcode':'AB1004'

      posted in General Discussion
      J
      Javajp
    • RE: Historical data misses a candle in 5mins interval

      @admin, sorry it is 2021-12-21 13:00:05 candle, refer the image

      posted in Python SDK
      J
      Javajp
    • Historical data misses a candle in 5mins interval

      Historical data misses a candle.

      scrip: GILLETTE-EQ
      interval: 5mins
      date: 21 Dec 2021
      missing candle: 2021-12-21 13:10:05
      probable reason for missing candle could be no trades from prev candle, so price might be unchanged, anyway this could be resolved for better.

      Thanks,Capture.PNG

      posted in Python SDK
      J
      Javajp
    • RE: Web scoket error

      @AkshayKalwar , @admin
      It works fine now without any changes, thanks for ur time.

      posted in Python SDK
      J
      Javajp
    • RE: Web scoket error

      @admin, the example you provided is of historical API which is working fine.

      I tried to narrow the problem on the web socket by taking the example provided in documentation, it seems to work fine on my personal PC, but same doesn't work on google colab, I am NOT sure if you would be really bothered about it, but it could be a good use case for you, and also the fact it was working fine till yesterday (not sure if google colab has pushed some updates...)

      I will try to attach snap ofof side by side of non-working vs working. some server error not letting me to attach.
      ![0_1638893343444_Smart_API_Socket error.PNG](Uploading 100%)

      posted in Python SDK
      J
      Javajp
    • RE: Web scoket error

      @admin yes below 2 packages were the one I was using yesterday and nothing chang d from yesterday.

      !pip install smartapi-python
      !pip install websocket-client

      posted in Python SDK
      J
      Javajp
    • RE: Web scoket error

      @admin, pls see I am running this on Google Collab, historical APIs work fine, created new app as well which didn't help

      posted in Python SDK
      J
      Javajp
    • Web scoket error

      I had a script to get live data which was working fine from more than a month, ni suddenly I am seeing this error

      Error info: 'SSLDispatcher' object has no attribute 'read'
      'SSLDispatcher' object has no attribute 'read'
      Error info: __on_close() takes 2 positional arguments but 4 were given
      __on_close() takes 2 positional arguments but 4 were given.

      Kindly help!!

      posted in Python SDK
      J
      Javajp
    • How to get historical data for indices (NIFTY AUTO, NIFTY FMCG, NIFTY METAL, NIFTY IT, ...)

      hello admin,

      Could you pls let me know if there is a way to get historical data for indices (NIFTY AUTO, NIFTY FMCG, NIFTY METAL, NIFTY IT, ...), I couldnt find a token in below .json file.
      https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json

      Thanks

      posted in Python SDK
      J
      Javajp