Results 1 to 9 of 9

Hybrid View

  1. #1
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi Robert1,

    The old web libraries used an undocumented private protocol specific to the javascript languages.
    So it is not a good idea to try to reverse engineering that protocol in order to apply it to other languages.
    For example the LS_Phase is a very specific element of the javascript protocol used to recognize possible duplicate replies but which do not make sense in other languages.

    For your python client you should implement the TLCP protocol version 2.0.0: https://sdk.lightstreamer.com/ls-gen...ifications.pdf
    Something like this example do: https://github.com/Lightstreamer/Lig...thon/tree/v1.1
    Indeed there is a new ready made python client library but that requires a Lightstreamer server 7.x.

    Please also note you should make sure if the server you are targeting is enabled to accept requests for the TLCP protocol.

    Regards,
    Giuseppe

  2. #2
    Hi Robert1,

    I also started looking in this problem since I want to follow the stock prices with a simple python script. Did you have any success yet? Is there anything on Github that you could share or I could help contribute to?

    Thanks,
    FHantke

  3. #3
    Hello,


    We have recently released a fully-featured Python Client for Lightstreamer on Pypi.
    As a simple example, you can look at this demo.

 

 

Similar Threads

  1. Does Java client use websocket?
    By carenot in forum General
    Replies: 1
    Last Post: June 16th, 2016, 09:30 AM
  2. How does lightstreamer do the filter?
    By gengliangyu2008 in forum Adapter SDKs
    Replies: 5
    Last Post: November 26th, 2010, 09:00 AM
  3. Replies: 1
    Last Post: July 28th, 2010, 10:15 AM
  4. Replies: 1
    Last Post: March 11th, 2010, 03:53 PM
  5. Replies: 1
    Last Post: August 27th, 2007, 11:24 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 11:54 PM.