-
April 29th, 2024, 10:27 AM
#1
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
-
By shirli_om2 in forum Adapter SDKs
Replies: 1
Last Post: March 16th, 2023, 02:15 PM
-
By chanro4 in forum Client SDKs
Replies: 5
Last Post: December 23rd, 2010, 08:34 AM
-
By PeterHiross in forum Adapter SDKs
Replies: 4
Last Post: December 20th, 2010, 08:36 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 04:36 PM.
Bookmarks