Navigation

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

    princetech1

    @princetech1

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

    princetech1 Follow

    Best posts made by princetech1

    • RE: Tick values are refreshing very slowly in websocket streaming.

      @admin I want to get spot Nifty and Not Futures.

      posted in Python SDK
      P
      princetech1

    Latest posts made by princetech1

    • RE: unable to get market feeds

      @admin Hello,

      Via Angel Api How Many Stocks prices and its details i can Access at a time in a Run

      posted in Python SDK
      P
      princetech1
    • RE: unable to get market feeds

      @admin i have mailed from princetech1@gmail.com to api@angelbroking.com

      posted in Python SDK
      P
      princetech1
    • RE: unable to get market feeds

      @admin How many stocks => can i Access from api ?

      posted in Python SDK
      P
      princetech1
    • RE: Tick values are refreshing very slowly in websocket streaming.

      @admin Exception while retriving IP Address,using local host IP address HTTPSConnectionPool(host='api.ipify.org', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000000003B68358>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed'))
      __on_open################
      {'task': 'cn', 'channel': 'NONLM', 'token': '090809502', 'user': 'SWWR1025', 'acctid': 'SWWR1025'}
      2021-08-19 19:09:21.993348 : Start task in the background
      {'task': 'hb', 'channel': '', 'token': '090809502', 'user': 'SWWR1025', 'acctid': 'SWWR1025'}

      => above is the data generated after my previosly posted python code.

      posted in Python SDK
      P
      princetech1
    • RE: Tick values are refreshing very slowly in websocket streaming.

      @J88913 that link is not useful=> Nothing special to get Hinted.

      posted in Python SDK
      P
      princetech1
    • RE: Tick values are refreshing very slowly in websocket streaming.

      @admin I want to get spot Nifty and Not Futures.

      posted in Python SDK
      P
      princetech1
    • RE: Tick values are refreshing very slowly in websocket streaming.

      @admin token = 'nifty'
      task='sfi'
      WS = SmartWebSocket(feedToken, CLIENT_ID)

      def on_tick(ws, tick):
      print("Ticks: {}".format(tick))

      def on_open(ws):
      #print("on Open")
      ws.subscribe(task,token)

      def on_connect(ws, response):
      ws.send_request(token)

      def on_close(ws, code, reason):
      ws.stop()

      Assign the callbacks.

      WS.on_ticks = on_tick
      WS.on_connect = on_connect
      WS.on_open = on_open
      WS.on_close = on_close

      WS.connect( )
      print(WS)

      please check and make the neccesary update in above Code=>

      posted in Python SDK
      P
      princetech1
    • RE: IS ANGEL Api Fast For Nifty Live Ticks???

      @rajanprabu Hello, I need python Code to get Spot Live Done=> Youtube video Link gave to me of Not enough length and not understandable.

      posted in Python SDK
      P
      princetech1
    • RE: Tick values are refreshing very slowly in websocket streaming.

      @admin please provide me nifty Spot Live feed Python Code.

      posted in Python SDK
      P
      princetech1
    • RE: Tick values are refreshing very slowly in websocket streaming.

      Hello, Do you getting Live Nifty Spot Via Python Code.If So
      please mail @ princetech1@gmail.com.

      posted in Python SDK
      P
      princetech1