Navigation

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

    puna123

    @puna123

    0
    Reputation
    14
    Posts
    5
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    puna123 Follow

    Best posts made by puna123

    This user hasn't posted anything yet.

    Latest posts made by puna123

    • RE: ModuleNotFoundError: No module named 'smartapi'

      @admin ,
      i tried everything . have install both the libraray as well but still same issue.
      also want to confirmone thing - client id and username are same only right??

      posted in Python SDK
      P
      puna123
    • RE: Tick values are refreshing very slowly in websocket streaming.

      @J88913 ,
      i am getting below error with this code. can you help.

      {'task': 'hb', 'channel': '', 'token': '093658357', 'user': '', 'acctid': ''}
      Error info: 'ltp'
      'ltp'

      posted in Python SDK
      P
      puna123
    • RE: Tick values are refreshing very slowly in websocket streaming.

      @admin
      can you please update me on below error?

      posted in Python SDK
      P
      puna123
    • RE: how to pass token in authorization for historic api run through postman

      @admin ,
      i am using below link for login api call to generate the token .is this the correct link?
      but what should i passs in header and body?

      https://apiconnect.angelbroking.com/rest/auth/angelbroking/jwt/v1/generateTokens

      posted in General Discussion
      P
      puna123
    • RE: how to pass token in authorization for historic api run through postman

      @admin ,
      are you saying about this feed token . shall we pass this token in our api call through postman.??

      package import statement

      from smartapi import SmartConnect #or from smartapi.smartConnect import SmartConnect
      #import smartapi.smartExceptions(for smartExceptions)

      #create object of call
      obj=SmartConnect(api_key="*****")
      # optional
      # access_token = "your access token",
      # refresh_token = "your refresh_token")

      #login api call

      data = obj.generateSession("","")
      print(data)
      refreshToken= data['data']['refreshToken']

      #fetch the feedtoken
      feedToken=obj.getfeedToken()
      print(feedToken)

      posted in General Discussion
      P
      puna123
    • RE: Tick values are refreshing very slowly in websocket streaming.

      @J88913 ,@admin
      i got the code from the link you have given but getting below error.
      would you be able to help?
      Error info: Handshake status 503 Service Unavailable
      Handshake status 503 Service Unavailable
      Error info: __on_close() takes 2 positional arguments but 4 were given
      __on_close() takes 2 positional arguments but 4 were given

      posted in Python SDK
      P
      puna123
    • RE: Immediate Action Needed

      @bhaveshjain ,
      this link is not giving any information . can you check from your side.

      posted in General Discussion
      P
      puna123
    • RE: how to pass token in authorization for historic api run through postman

      @puna123 can anyone help here plzz

      posted in General Discussion
      P
      puna123
    • RE: I am not seeing websocket streaming code in smartapi documentation.

      @admin
      I am asking that similar code for websocket streaming api which you have given in historic api page . As I was able to see that code earlier but not now.

      Can u provide me that streaming code where we navigate the request through conn.request () method....

      posted in General Discussion
      P
      puna123
    • I am not seeing websocket streaming code in smartapi documentation.

      i cant see the websocket streaming code in smari api doc.
      0755cd36-ecf3-4e86-96c4-f996da3fd3ce-image.png

      posted in General Discussion
      P
      puna123