Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Aug 2011
    Location
    Merrimack
    Posts
    4

    Option Chains. optimal way to establish and subscribe to many to one relationship

    Hi all,

    We are looking to utilize LightStreamer for delivering different types of market data to our customers.
    In dealing with option chains I was hoping to get some advice on how to optimally handle the process of receiving a single item expanding the list and subscribing to the variable number of options associated to that chain.

    One such solution I can think of is for the metadata adapter to make a call to our back end to determine the list of options and pass them back to LS, so LS sets up individual subscriptions for each to the data adapter. Just wondering if there is a better solution using the data adapter to establish and manage the list associated to the chain?

    Thanks in advance.

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,090
    This corresponds with what we call "two level push" technique, in which the list of options is returned and dynamically updated by a "list item" (which can be implemented by leveraging the COMMAND mode); then each option is subscribed to separately.

    We show the technique in our Portfolio Demo, whose source code is included in the distribution package;
    the architecture is quite complicated, but Lightstreamer helps by providing various pieces.

    Note, however, that all second-level subscriptions (i.e. single options subscriptions) will be requested directly by the client, based on the information received from the "list item", hence with an additional roundtrip.

 

 

Similar Threads

  1. binary option trading platform
    By random man in forum General
    Replies: 2
    Last Post: November 18th, 2014, 12:10 PM
  2. Automatic subscribe to different items
    By abhijeetgk in forum Adapter SDKs
    Replies: 1
    Last Post: September 28th, 2011, 11:53 AM
  3. LS load balancing Option 1.A.2 questions?
    By dimitarn in forum General
    Replies: 1
    Last Post: March 29th, 2010, 07:28 PM
  4. dynamically subscribe items
    By rd2008 in forum General
    Replies: 9
    Last Post: October 10th, 2008, 11:38 AM
  5. subscribe to items not using threads
    By nagakumaran in forum Adapter SDKs
    Replies: 6
    Last Post: October 16th, 2007, 03: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:55 PM.