Navigation

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

    please share some example of WebSocket 2.0 response data

    C#/.Net SDK
    0
    10
    79
    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.
    • P
      pradyumnapp last edited by

      Hi Team,

      Can you please share some example of WebSocket 2.0 response data to understand structure of data. From API Documents I am not able to understand how data will be separated for different tokens.

      J 1 Reply Last reply Reply Quote 0
      • J
        Jaydip Garala @pradyumnapp last edited by

        @pradyumnapp
        Create WebSocket Instance
        Create Headers
        check open state
        send data to binary format
        received buffer
        change byte array to Little Endian &
        then
        convert to your data type

        It's work for me

        I hope you understand
        Thank You

        J B A 3 Replies Last reply Reply Quote 0
        • J
          Jaydip Garala last edited by

          Create Web socket instance
          create headers
          open state
          send data to binary format
          received data in binary format
          change to Little Endian
          convert your data type
          It's work for me.
          Thank You.

          A 1 Reply Last reply Reply Quote 0
          • J
            JarvisBull @Jaydip Garala last edited by

            @Jaydip-Garala Hi Please share working code to connect Webocket 2.0 .

            J 1 Reply Last reply Reply Quote 0
            • J
              Jaydip Garala @JarvisBull last edited by

              @JarvisBull
              Ok I will share you.

              J 1 Reply Last reply Reply Quote 0
              • J
                JarvisBull @Jaydip Garala last edited by

                @Jaydip-Garala vshinde480@gmail.com please send through email if possible.

                1 Reply Last reply Reply Quote 0
                • B
                  BM1234 @Jaydip Garala last edited by

                  @Jaydip-Garala could you be kind enough to share your websocket read and write including encoding to little endian with me. My email is bijomw@gmail.com. Thanks

                  1 Reply Last reply Reply Quote 0
                  • A
                    avim @Jaydip Garala last edited by

                    @Jaydip-Garala you are able to get best five data Buy/Sell prices (in websocket streaming) than please help me i am not able

                    H 1 Reply Last reply Reply Quote 0
                    • A
                      avim @Jaydip Garala last edited by

                      @Jaydip-Garala you are able to get bid ask price from websocket?

                      1 Reply Last reply Reply Quote 0
                      • H
                        himanshu9 @avim last edited by

                        @avim what's issue you having in price?

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