Navigation

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

    Websocket Order status

    Python SDK
    4
    13
    184
    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.
    • D
      Dhilip Krishna last edited by

      Can you please provide working example of websocket order status? Just like you have one for ebsocket streaming.

      Please proovide working example, not link to the existing documentation.

      Thanks!

      ananya 1 Reply Last reply Reply Quote 1
      • ananya
        ananya @Dhilip Krishna last edited by

        @Dhilip-Krishna I am working on building trading application over smart-api.
        I found that abstraction for getting order status over websocket is missing.
        I added an abstraction layer + example.
        You would need to adapt your local copy of smartapi-python package to use this example.
        I hope this helps!

        @admin I have created PR to merge this into main line
        Consider to merge it to mainline, this would be helpful for the community.

        Thanks
        Prasanna

        A S N K 4 Replies Last reply Reply Quote 0
        • A
          admin @ananya last edited by

          @ananya said in Websocket Order status:

          @admin I have created PR to merge this into main line
          Consider to merge it to mainline, this would be helpful for the community.

          your feedback is noted.

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

            @ananya

            I have used my custom code to do this before and it worked. But with Angel main issues is time to time we get HearBeat Failed message. Imgine missing a order notification due to HB failure.

            Having said that have you tried this for your live trading ? is it stable especially when market makes a big move in short time.

            Thanks.

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

              @admin and ?

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

                @rajanprabu I havent tested yet in live market. But I am developing a strategy to trade in live market. I think your input is valuable in my implementation.
                Thanks for that !
                This means that websocket channel is not reliable for order status notification.
                We need to fallback to polling, until angel improves the situation.

                Today I tried some trading using angel web interface. The gui was not very responsive during live market. However I am not sure if it is because of the API issue or the web interface itself is lagging !

                I am planning to develop some tests to check the order status.

                Will keep posted here
                Thanks

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

                  @ananya said in Websocket Order status:

                  @admin and ?

                  Hi post your client id here and no in chat our team will connect you.

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

                    @admin P313965

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

                      @ananya Hello, I have emailed you few queries around this on ananya.aakash@zohomail.in, highly appreciate if you can assist on those.
                      Best regards.

                      1 Reply Last reply Reply Quote 0
                      • R
                        rohitlib88 last edited by

                        @admin
                        I tried PR raised by @ananya, but it is not working
                        Can you plz check and let me know, how to use it
                        and it will be a great help if the working code is added in smartapi-python package

                        R 1 Reply Last reply Reply Quote 0
                        • R
                          rohitlib88 last edited by

                          @admin
                          I am trying to use this web socket API to get order status but the web socket does not connect

                          https://smartapi.angelbroking.com/docs/WebSocketOrderStatus

                          can you please guide me on how I can do this.. is this any change on this websocket URL?

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

                            @ananya Have you tested it? Is it working fine ?

                            1 Reply Last reply Reply Quote 0
                            • R
                              renjithvamanan @rohitlib88 last edited by

                              @rohitlib88

                              Were you able to get this working? Tried today, I am also not able to connect to the URL.

                              Thanks.

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