Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Websocket Order Status

    Test
    4
    15
    179
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      anujsanklecha @admin last edited by

      @admin Is there any update on this, I am waiting for this to be completed as my platform is not working properly.

      A 1 Reply Last reply Reply Quote 0
      • A
        admin @anujsanklecha last edited by

        HI@anujsanklecha we will update you on this in 2 3 days.

        A 1 Reply Last reply Reply Quote 0
        • A
          anujsanklecha @admin last edited by

          @admin any update regarding this or just give us webhooks so we can manage order status update.

          A 1 Reply Last reply Reply Quote 0
          • A
            admin @anujsanklecha last edited by

            Hi @anujsanklecha said in Websocket Order Status:

            Websocket Order Status is not working, I am not receiving any update when I place order in my angel account

            This has been fixed.

            A R 2 Replies Last reply Reply Quote 0
            • A
              anujsanklecha @admin last edited by

              @admin I am trying to check my order update through websocket can not get status any sample python code or anything available?

              A 1 Reply Last reply Reply Quote 0
              • A
                admin @anujsanklecha last edited by

                HI @anujsanklecha Currently we dont have any sample code in python we will add it for the reference.You can go through the below doc.
                https://smartapi.angelbroking.com/docs/WebSocketOrderStatus

                1 Reply Last reply Reply Quote 0
                • R
                  rajbahadur @admin last edited by

                  @admin Does Websocket Order Status API in Java work? I am able to successfully subscribe to the order feed but do not get any callback/update when I place the order.

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    admin @rajbahadur last edited by

                    HI @rajbahadur said in Websocket Order Status:

                    @admin Does Websocket Order Status API in Java work? I am able to successfully subscribe to the order feed but do not get any callback/update when I place the order.

                    Please post your piece of code.

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      rajbahadur @admin last edited by

                      @admin Here is my code

                          //register websocket
                          smartWebsocket = new SmartWebsocket(AngelBrokingConstant.CLIENT_ID, user.getAccessToken(), AngelBrokingConstant.API_KEY, "subscribe", "order_feed");
                          smartWebsocket.setOnTickerArrivalListener(this);
                          smartWebsocket.setOnDisconnectedListener(this);
                          smartWebsocket.setOnConnectedListener(this);
                          smartWebsocket.connect();
                      

                      /// AND

                      @Override
                      public void onTicks(JSONArray jsonArray) {
                          System.out.println(" On Ticks " + jsonArray);
                      }
                      
                      @Override
                      public void onConnected() {
                          System.out.println("Web:socket connected.");
                          smartWebsocket.runscript();
                          System.out.println("WS connection is " + this.smartWebsocket.isConnectionOpen());
                      }
                      
                      @Override
                      public void onDisconnected() {
                          System.out.println("Web:socket is disconnected.");
                      }
                      
                      R 1 Reply Last reply Reply Quote 0
                      • R
                        rajbahadur @rajbahadur last edited by

                        @rajbahadur @admin Any update on this?

                        1 Reply Last reply Reply Quote 0
                        • ananya
                          ananya @anujsanklecha last edited by

                          @anujsanklecha I have used this feature in python api api and its working for me
                          Check here ..If you are still interested in it 😉

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post