Navigation

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

    how to use arrange websocket data

    General Discussion
    0
    9
    60
    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.
    • R
      rishi6310 last edited by

      i want to arrange websocket live data in format in python how can i able to it
      and which file format is faster for read data from websocket or any dirct method to do so in python

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

        @admin can you address this problem asap

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

          @rishi6310 said in how to use arrange websocket data:

          i want to arrange websocket live data in format in python how can i able to it
          and which file format is faster for read data from websocket or any dirct method to do so in python

          This is a user specific requirement. Once you get the response you can arrange it by performing operation according to your need.

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

            @admin can i save into csv fromat

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

              @rishi6310 it depends on the use of web socket.

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

                @admin if i want to read live data in csv format from websocket how can i able to do that in python

                A 1 Reply Last reply Reply Quote 0
                • A
                  ashishbajaj @rishi6310 last edited by

                  @rishi6310: I think you're looking for integration with google sheet. I suggest reading on how to read data from your platform to google sheet API. It will read directly from your platform giving you frontend UI as plug and play.

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    rishi6310 @ashishbajaj last edited by

                    @ashishbajaj can you plz provide code of it how to read data in excel/google sheets in python i have try many ways but price is not updating properly i want to read data directly from csv fromat and connect websocket to csv file to update every tick in file

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      ashishbajaj @rishi6310 last edited by

                      @rishi6310: I suggest following this https://www.analyticsvidhya.com/blog/2020/07/read-and-update-google-spreadsheets-with-python/

                      Not very detailed, so you might have to read more from the Google API OAuth system. I cannot share code because I don't have it on me. Quick Github search might help too. I might code such a system but it's not on my priority list currently.

                      I hope you find what you're looking for.

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