Results 1 to 7 of 7

Hybrid View

  1. #1
    Could you try running the example provided in the quickstart guide?

  2. #2
    I’ve tried, but it doesn’t work, everything in the example is nearly right but not quiet right.

    In the example is says

    from lightstreamer.client import *

    That doesn’t work, it needs

    from lightstreamer_client import *

    In the example,

    sub = Subscription("MERGE",["item1","item2","item3"],["stock_name","last_price"])

    It errors because Subscription is not defined.

    I get round it using

    subscription_data = LightstreamerSubscription("MERGE", ['MARKET:IX.D.FTSE.CFD.IP'], ['BID'])

    etc etc.

    Hence I wonder if the example is written on a very old version of the code.

 

 

Similar Threads

  1. Getting exceptions on initial subscription request
    By shirli_om2 in forum Adapter SDKs
    Replies: 1
    Last Post: March 16th, 2023, 02:15 PM
  2. Replies: 5
    Last Post: December 23rd, 2010, 08:34 AM
  3. Getting time out on initial subscription request
    By PeterHiross in forum Adapter SDKs
    Replies: 4
    Last Post: December 20th, 2010, 08:36 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 08:05 AM.