Results 1 to 7 of 7
  1. #1
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521

    IG Group's cool applications

    IG Group (www.iggroup.com) have deployed Lightstreamer on their sites to provide their customers with live data.

    Some of their publicly visible applications include:

    IG Index (www.igindex.co.uk) - financial spread betting
    IG Markets (www.igmarkets.com) - CFD & FX trading
    extrabet (www.extrabet.com) - fixed-odds betting
    binarybet.com (www.binarybet.com) - spread betting and fixed odds

  2. #2
    Member
    Join Date
    Jun 2008
    Location
    Bedminster
    Posts
    2

    IG Streaming Price Quotes

    They seem to provide quotes based on the individual user setting. It seemed to me that with lightstream one can have only one generic price stream that will get broadcasted to all the clients connected to that server.

    Can different clients connect to the same lightstream server and get a different price feed?

    Client Connects --> LightStream --> socket to remoteapp with client credentials that provides Price specific to his settings and the same get passed to that specific client.

  3. #3
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Yes, Lightstreamer can absolutely stream specific data to individual users. To do that, each user will subscribe to their own unique items. Furthermore, the Metadata Adapter will enforce the user/item association, so that a user cannot subscribe to the items destined to another user.

  4. #4
    Member
    Join Date
    Jun 2008
    Location
    Bedminster
    Posts
    2

    LightStreamer implementation

    The scenario i am talking about is as under
    The Items that all clients get is same
    The data/values for the above items is different for different users based on their profile/settings.
    So if some users have the same Profile/settings then their data will be same but if they different settings then they will see different data/values for the items.

    How do we setup lightstreamer to handle the above requirement.

  5. #5
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Data in lightstreamer is organized in items and fields. You can organize your application so that each user subscribes to a different set of items and fields on the basis of his configuration.

  6. #6
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,090
    Moreover, your client page may not need to know the user details.
    The page could subscribe to a generic item name (for instance: "personal_data"), and the Metadata Adapter would have a chance to rectify the item name, based on user profile information, to a specific name (for instance: "premium_user_data") (see "getItems").

    In any case, this requires that your Data Adapter accepts subscriptions for all the possible specific item names, corresponding to different kinds of users. Note that this may imply some redundancy, as some updates may need to be supplied to multiple of these user-kind-related items.

  7. #7
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Another option is to use the customizeUpdate method in the Metadata Adapter. This allows you to customize the contents of each event based on the user identity.

 

 

Similar Threads

  1. Replies: 1
    Last Post: January 14th, 2011, 09:35 AM
  2. Replies: 3
    Last Post: January 21st, 2010, 01:25 PM
  3. On addTable() receveiving updates from previous group
    By jakov.semenski in forum Client SDKs
    Replies: 3
    Last Post: November 26th, 2008, 06:14 PM
  4. Adding/Removing item in subscribed group
    By rsouissi in forum Adapter SDKs
    Replies: 4
    Last Post: January 10th, 2007, 07:11 PM

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 04:00 PM.