Navigation

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

    kripabhat

    @kripabhat

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

    kripabhat Follow

    Best posts made by kripabhat

    This user hasn't posted anything yet.

    Latest posts made by kripabhat

    • RE: WebSocket for getting Market dat

      @admin Thanks for the fix. I am yet to check the latest code, will check and let you know if any further issue found.

      posted in NodeJS SDK
      K
      kripabhat
    • RE: Websocket Streaming - Total Open interest on Options not coming

      @kripabhat @admin please confirm on the total open interest data(toi) on futures/options?

      posted in Python SDK
      K
      kripabhat
    • Get Market Depth data via WebSocket

      Any one know how to get market depth data(Top 5 buy and sell order details) via websocket?

      posted in Python SDK
      K
      kripabhat
    • Websocket Streaming - Total Open interest on Options not coming

      I have tried to get nse_fo data via websocket. message from server does not include total open interest (toi).
      @admin, please check and confirm how to get open interest data for nse options?

      Sample response received for token="nse_fo|39975" given below,

      Ticks: [{'ap': '78.09', 'bp': '73.05', 'bq': '225', 'bs': '150', 'c': '69.80', 'cng': '03.35', 'e': 'nse_fo', 'lo': '56.40', 'ltp': '73.15', 'ltq': '150', 'ltt': '21/12/2020 12:20:57', 'name': 'sf', 'nc': '04.80', 'sp': '73.30', 'tbq': '339300', 'tk': '39975', 'to': '2232628240.50', 'tsq': '611025', 'v': '28590450'}]

      Ticks: [{'ap': '78.09', 'bp': '73.15', 'bq': '300', 'bs': '75', 'c': '69.80', 'cng': '03.55', 'e': 'nse_fo', 'lo': '56.40', 'ltp': '73.35', 'ltq': '75', 'ltt': '21/12/2020 12:20:58', 'name': 'sf', 'nc': '05.09', 'sp': '73.40', 'tbq': '342525', 'tk': '39975', 'to': '2232634097.25', 'tsq': '610875', 'v': '28590525'}]

      posted in Python SDK
      K
      kripabhat
    • RE: WebSocket for getting Market dat

      @admin Please let me know when the fix will be available?

      posted in NodeJS SDK
      K
      kripabhat
    • RE: WebSocket for getting Market dat

      @admin Ok thanks, let me know once the fix is available

      posted in NodeJS SDK
      K
      kripabhat
    • RE: WebSocket for getting Market dat

      @admin Below is some more details,

      I am sending correct message(subscription) to WebSocket after opening connection.
      ws.sendText("{ "task":"cn","channel":"","token":""+feedToken+"","user":"<ClientCode>","acctid":"<ClientCode>" }");
      ws.sendText("{"task":"mw","channel":"nse_cm|3045","token":""+feedToken+"","user":"<ClientCode>","acctid":"<ClientCode>"}");

      Once after sending the above message then below text message is received continuously,. Looks like issue with conversion of message??
      WebSocket Connection Status=true
      onTextMessage
      eJyLrlYqKUvMKU1VslIyNI3RNzSK0TcyMDJQMDS0MjK0MjVW0lHKS8wFSZfkKtXqVCuBmHnFqfHJuQip4jQgO6ekAMg0MrPUMzcAcwtBZoKYJdlAlrGBiSlYuATI8XNUqo0FAB9nIH4=

      posted in NodeJS SDK
      K
      kripabhat
    • RE: WebSocket for getting Market dat

      @kripabhat said in WebSocket for getting Market dat:

      Did any one try getting market data via websocket? I am getting error while trying to use the example code given in SmartAPITicker.java

      Can someone confirm if the java is supported for websocket?

      onTextMessage Message received...
      eJyLrlZKzFayUsrPVtJRKkksBrFzy4Hs3OJ0CLM2FgDEIQq3
      at org.json.JSONTokener.syntaxError(JSONTokener.java:505)
      at org.json.JSONObject.<init>(JSONObject.java:214)
      at org.json.JSONObject.<init>(JSONObject.java:357)
      at com.angelbroking.smartapi.ticker.SmartAPITicker.parseTextMessage(SmartAPITicker.java:775)
      at com.angelbroking.smartapi.ticker.SmartAPITicker.access$9(SmartAPITicker.java:771)
      at com.angelbroking.smartapi.ticker.SmartAPITicker$3.onTextMessage(SmartAPITicker.java:306)
      at com.neovisionaries.ws.client.ListenerManager.callOnTextMessage(ListenerManager.java:352)

      @bhaveshjain, please confirm Java SDK supports websocket streaming of market data

      posted in NodeJS SDK
      K
      kripabhat
    • WebSocket for getting Market dat

      Did any one try getting market data via websocket? I am getting error while trying to use the example code given in SmartAPITicker.java

      Can someone confirm if the java is supported for websocket?

      onTextMessage Message received...
      eJyLrlZKzFayUsrPVtJRKkksBrFzy4Hs3OJ0CLM2FgDEIQq3
      at org.json.JSONTokener.syntaxError(JSONTokener.java:505)
      at org.json.JSONObject.<init>(JSONObject.java:214)
      at org.json.JSONObject.<init>(JSONObject.java:357)
      at com.angelbroking.smartapi.ticker.SmartAPITicker.parseTextMessage(SmartAPITicker.java:775)
      at com.angelbroking.smartapi.ticker.SmartAPITicker.access$9(SmartAPITicker.java:771)
      at com.angelbroking.smartapi.ticker.SmartAPITicker$3.onTextMessage(SmartAPITicker.java:306)
      at com.neovisionaries.ws.client.ListenerManager.callOnTextMessage(ListenerManager.java:352)

      posted in NodeJS SDK
      K
      kripabhat
    • RE: Login issue -> Code AB1007

      @admin Thanks..its connecting now

      posted in NodeJS SDK
      K
      kripabhat