Navigation

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

    NyctoNid

    @NyctoNid

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

    NyctoNid Follow

    Best posts made by NyctoNid

    This user hasn't posted anything yet.

    Latest posts made by NyctoNid

    • RE: How to get NSE and BSE Live Market Data in Nodejs

      @admin
      This is actual code

      let web_socket = new WebSocketClient({
          clientcode: "N199330",    
          jwttoken: jwtToken,
          apikey: "GHfVT7N7",
          feedtype: "order_feed",
      });
      
      web_socket.connect()
          .then(() => {
              web_socket.fetchData("subscribe", "order_feed");  // ACTION_TYPE: subscribe | unsubscribe FEED_TYPE: order_feed
      
              setTimeout(function () {
                  web_socket.close()
              }, 60000)
          });
      
      web_socket.on('tick', receiveTick);
      function receiveTick(data) {
          console.log("receiveTick:::::", data);
      }
      
      posted in Bugs
      N
      NyctoNid
    • RE: How to get NSE and BSE Live Market Data in Nodejs

      @admin Sure!

      posted in Bugs
      N
      NyctoNid
    • How to get NSE and BSE Live Market Data in Nodejs

      How to get live NSE and BSE Live data in Nodejs cause the code

      let web_socket = new WebSocketClient({
          clientcode: "CLIENT_CODE",    
          jwttoken: "jwt_token",
          apikey: "smartapi_key",
          feedtype: "order_feed",
      });
      
      web_socket.connect()
          .then(() => {
              web_socket.fetchData("ACTION_TYPE", "FEED_TYPE");  // ACTION_TYPE: subscribe | unsubscribe FEED_TYPE: order_feed
      
              setTimeout(function () {
                  web_socket.close()
              }, 60000)
          });
      
      web_socket.on('tick', receiveTick);
      
      
      function receiveTick(data) {
          console.log("receiveTick:::::", data);
      }
      
      

      is not working

      posted in Bugs
      N
      NyctoNid