Navigation

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

    ankur12

    @ankur12

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

    ankur12 Follow

    Best posts made by ankur12

    • RE: TOKEN WITH SYMBOL

      @nahas_n Thank you so much! Can you please guide how did you find this?

      posted in Python SDK
      A
      ankur12

    Latest posts made by ankur12

    • RE: TOKEN WITH SYMBOL

      @admin Hi I tried today, and still not getting the quote for Banknifty index. Can you please look into this?

      PS C:\Users\eshantgar> & python c:/Angel/Login.py
      __on_open################
      {'task': 'cn', 'channel': 'NONLM', 'token': '092781231', 'user': 'A539902', 'acctid': 'A539902'}
      2021-06-14 13:09:01.585164 : Start task in the background
      {'task': 'hb', 'channel': '', 'token': '092781231', 'user': 'A539902', 'acctid': 'A539902'}
      on open
      Ticks: [{'ak': 'ok', 'msg': 'connected', 'task': 'cn'}]
      Ticks: [{'ak': 'ok', 'msg': 'heartbeat', 'task': 'hb'}]
      Ticks: [{'ak': 'ok', 'msg': 'sfi', 'task': 'sfi'}]
      Ticks: [{'name': 'tm', 'tvalue': '14/06/2021 13:08:57'}]
      Ticks: [{'name': 'tm', 'tvalue': '14/06/2021 13:08:58'}]
      Ticks: [{'name': 'tm', 'tvalue': '14/06/2021 13:08:59'}]
      Ticks: [{'name': 'tm', 'tvalue': '14/06/2021 13:09:00'}]
      Ticks: [{'name': 'tm', 'tvalue': '14/06/2021 13:09:01'}]
      Ticks: [{'name': 'tm', 'tvalue': '14/06/2021 13:09:02'}]
      
      posted in Python SDK
      A
      ankur12
    • RE: TOKEN WITH SYMBOL

      @nahas_n I entered the following for my WebSocket and ran the code. As the market is closed now, I am getting the following response. Is it correct?

      FEED_TOKEN=feedToken
      CLIENT_CODE="A539902"
      token ="nse_cm|26009"
      task="sfi"

      __on_open################
      {'task': 'cn', 'channel': 'NONLM', 'token': '096355569', 'user': 'A539902', 'acctid': 'A539902'}
      2021-06-12 23:23:00.895759 : Start task in the background
      {'task': 'hb', 'channel': '', 'token': '096355569', 'user': 'A539902', 'acctid': 'A539902'}
      on open
      Ticks: [{'ak': 'ok', 'msg': 'connected', 'task': 'cn'}]
      Ticks: [{'ak': 'ok', 'msg': 'heartbeat', 'task': 'hb'}]
      Ticks: [{'ak': 'ok', 'msg': 'sfi', 'task': 'sfi'}]
      2021-06-12 23:23:30.902385 : Start task in the background
      {'task': 'hb', 'channel': '', 'token': '096355569', 'user': 'A539902', 'acctid': 'A539902'}
      Ticks: [{'ak': 'ok', 'msg': 'heartbeat', 'task': 'hb'}]
      2021-06-12 23:24:00.911174 : Start task in the background
      {'task': 'hb', 'channel': '', 'token': '096355569', 'user': 'A539902', 'acctid': 'A539902'}
      Ticks: [{'ak': 'ok', 'msg': 'heartbeat', 'task': 'hb'}]
      2021-06-12 23:24:30.915961 : Start task in the background
      {'task': 'hb', 'channel': '', 'token': '096355569', 'user': 'A539902', 'acctid': 'A539902'}
      Ticks: [{'ak': 'ok', 'msg': 'heartbeat', 'task': 'hb'}]
      2021-06-12 23:25:00.921621 : Start task in the background
      {'task': 'hb', 'channel': '', 'token': '096355569', 'user': 'A539902', 'acctid': 'A539902'}
      Ticks: [{'ak': 'ok', 'msg': 'heartbeat', 'task': 'hb'}]
      2021-06-12 23:25:30.925889 : Start task in the background
      {'task': 'hb', 'channel': '', 'token': '096355569', 'user': 'A539902', 'acctid': 'A539902'}
      Ticks: [{'ak': 'ok', 'msg': 'heartbeat', 'task': 'hb'}]
      2021-06-12 23:26:00.934004 : Start task in the background
      {'task': 'hb', 'channel': '', 'token': '096355569', 'user': 'A539902', 'acctid': 'A539902'}
      Ticks: [{'ak': 'ok', 'msg': 'heartbeat', 'task': 'hb'}]
      2021-06-12 23:26:30.945869 : Start task in the background
      {'task': 'hb', 'channel': '', 'token': '096355569', 'user': 'A539902', 'acctid': 'A539902'}
      Ticks: [{'ak': 'ok', 'msg': 'heartbeat', 'task': 'hb'}]
      
      posted in Python SDK
      A
      ankur12
    • RE: TOKEN WITH SYMBOL

      @nahas_n Thank you so much! Can you please guide how did you find this?

      posted in Python SDK
      A
      ankur12
    • RE: TOKEN WITH SYMBOL

      @vishant How to stream Index like Nifty or Banknifty? Can you help please, I am not able to find these in the list of instruments provided.

      posted in Python SDK
      A
      ankur12
    • Could not find Token to stream index (Banknifty/Nifty)?

      Re: TOKEN WITH SYMBOL

      posted in Python SDK
      A
      ankur12