Navigation

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

    ChavdaAshwin

    @ChavdaAshwin

    0
    Reputation
    1
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    ChavdaAshwin Follow

    Best posts made by ChavdaAshwin

    This user hasn't posted anything yet.

    Latest posts made by ChavdaAshwin

    • RE: Help regarding Websocket code

      login api call

      data = smartapi.generateSession(clientId , pwd , totp)
      authToken = data['data']['jwtToken']
      refreshToken = data['data']['refreshToken']

      fetch the feedtoken

      feedToken = smartapi.getfeedToken()

      fetch User Profile

      res = smartapi.getProfile(refreshToken)
      smartapi.generateToken(refreshToken)
      res=res['data']['exchanges']
      feedToken

      use this code

      posted in Python SDK
      C
      ChavdaAshwin