Navigation

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

    Shikha 0

    @Shikha 0

    1
    Reputation
    1
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Pune

    Shikha 0 Unfollow Follow

    Best posts made by Shikha 0

    • Unable to whitelist IP as somebody already used.

      1bfed34a-bd92-44ad-a701-9babb6a818dd-image.png
      As you can see in the screenshot that this is my server and this is my IP when I tried to enter it in angelone api it shows that it's been used in another api.
      It seems like somebody has mistakenly or randomly added this ip in their api.
      Do you have any mechanism to verify that I am real owner of this IP?
      Please guide me.

      posted in Bugs
      S
      Shikha 0

    Latest posts made by Shikha 0

    • Unable to whitelist IP as somebody already used.

      1bfed34a-bd92-44ad-a701-9babb6a818dd-image.png
      As you can see in the screenshot that this is my server and this is my IP when I tried to enter it in angelone api it shows that it's been used in another api.
      It seems like somebody has mistakenly or randomly added this ip in their api.
      Do you have any mechanism to verify that I am real owner of this IP?
      Please guide me.

      posted in Bugs
      S
      Shikha 0
    • RE: websocket Tick data problem

      @rajanprabu said in websocket Tick data problem:

      ws.websocket_connection()

      @rajanprabu Thank you now it is working fine

      posted in Python SDK
      S
      Shikha 0
    • websocket Tick data problem

      @admin Please help

      from smartapi import WebSocket
      FEED_TOKEN= feedToken
      CLIENT_CODE="B165493"
      token= "nse_fo|59615"
      task="mw" #'mw'|'sfi'|'dp'
      ss = WebSocket(FEED_TOKEN, CLIENT_CODE)
      
      def on_tick(ws, tick):
          print("Ticks: {}".format(tick))
      
      def on_connect(ws, response):
          ws.send_request(token,task)
      
      def on_close(ws, code, reason):
          ws.stop()
      
      ss.on_ticks = on_tick
      ss.on_connect = on_connect
      ss.on_close = on_close
      
      ss.connect( )
      
      

      Getting this result

      <function on_connect at 0x0000029E00FEE268>
      Ticks: [{'ak': 'nk', 'msg': 'mw', 'task': 'mw'}]
      
      posted in Python SDK
      S
      Shikha 0