-
August 25th, 2011, 11:20 PM
#1
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.
-
August 26th, 2011, 01:37 PM
#2
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
-
By random man in forum General
Replies: 2
Last Post: November 18th, 2014, 11:10 AM
-
By abhijeetgk in forum Adapter SDKs
Replies: 1
Last Post: September 28th, 2011, 10:53 AM
-
By dimitarn in forum General
Replies: 1
Last Post: March 29th, 2010, 06:28 PM
-
By rd2008 in forum General
Replies: 9
Last Post: October 10th, 2008, 10:38 AM
-
By nagakumaran in forum Adapter SDKs
Replies: 6
Last Post: October 16th, 2007, 02:11 PM
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 06:10 AM.
Bookmarks