Navigation

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

    Websocket to obtain Order Status

    Python SDK
    6
    23
    347
    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.
    • S
      Surya 1 @Surya 1 last edited by

      @admin

      why can't you provide order updates via the data websocket like other API providers do. that will make our life so simple..

      just add one more function like

      on_order(ws, msg)
         print ( msg) 
      

      this would be the easiest for anyone rather than fiddling with establishing another websocket connects and send heart beat every minute.. pretty inefficient..

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

        HI @rajanprabu ok we report this to the team and update you.

        S 1 Reply Last reply Reply Quote 0
        • T
          techs @admin last edited by

          Hi @admin and @SmartAPI_Angel ,
          Sample code should be correct and concise code that your readers can quickly understand and easily reuse with minimal side effects.
          The link you have shared is just a Websocket Order Status API documentation which doesn't have any working example code.

          Please share working python code which uses Websocket Order Status API

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

            HI @techs @rajanprabu we have passed the requirement to the team to add the working example we will soon make it available to you.

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

              @admin

              Thanks for the prompt response.. This would be of big help.

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

                @admin

                Any update on this ? Any example code or ordering updates via data sockets ?

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

                  Hi @rajanprabu As coordinated with the team the example in doc seems to be explanatory to use it. We can connect with you to discuss on this.

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

                    @admin Thanks of the update..

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

                      HI @rajanprabu Let us know when can we connect with you so that we can brief you on the requirement.

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

                        @admin I fixed it myself. Thanks.

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

                          @admin Which Package to Install in python for WebSocket, the modulename please

                          e.g pip install ..... ?

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

                            HI @webseos please find it below:
                            pip install smartapi-python
                            pip install websocket-client

                            1 Reply Last reply Reply Quote 0
                            • S
                              simran.munshi @Surya 1 last edited by

                              @rajanprabu Were you able to solve the issue and get the order update. can you please share the sample code if possible.

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