Navigation

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

    mandeepV

    @mandeepV

    0
    Reputation
    2
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    mandeepV Unfollow Follow

    Latest posts made by mandeepV

    • RE: Difference between FEED_TOKEN and token

      @rajanprabu I receive 3 ticks, do you know how they differ?

      Ticks: [{'name': 'tm', 'tvalue': '24/02/2021 10:04:09'}]
      Ticks: [{'e': 'nse_cm', 'ltp': '2046.15', 'ltq': '16', 'ltt': 'NA', 'name': 'sf', 'tk': '2885'}]
      Ticks: [{'ap': '2046.93', 'bp': '2046.10', 'bq': '22', 'bs': '21', 'c': '2023.45', 'cng': '22.65', 'e': 'nse_cm', 'lo': '2026.15', 'ltp': '2046.10', 'ltq': '1', 'ltt': '24/02/2021 10:04:09', 'name': 'sf', 'nc': '01.12', 'sp': '2046.15', 'tbq': '384403', 'tk': '2885', 'to': '4707730213.14', 'tsq': '546250', 'v': '2299898'}]
      
      posted in Python SDK
      M
      mandeepV
    • RE: Difference between FEED_TOKEN and token

      @rajanprabu Thanks. Working now.

      I used following variable for FEED_TOKEN's value at bottom.

      #fetch the feedtoken
      feedToken=obj.getfeedToken()
      
      posted in Python SDK
      M
      mandeepV
    • Difference between FEED_TOKEN and token

      I see the example code in readme as

      from smartapi import WebSocket 
      FEED_TOKEN= "your feed token"
      CLIENT_CODE="your client Id"
      token="channel you want the information of" #"nse_cm|2885&nse_cm|1594&nse_cm|11536"
      

      I understand the 'token' is actually the channel I want to subscribe to. But how do I get the FEED_TOKEN and what is it?

      posted in Python SDK
      M
      mandeepV