Navigation

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

    ChavdaAshwin

    @ChavdaAshwin

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

    ChavdaAshwin Unfollow Follow

    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