-
July 1st, 2016, 03:30 PM
#1
Hi Manta LI,
No, MERGE and DISTINCT are two conflicting mode. So the same Item could not be subcribed by two subscriptions the first in MERGE mode and the second in DISTINCT mode. The latter subscription fails and does not return any data.
Indeed you should implement the modeMayBeAllowed method in your adapter to ensure that each Item only accept the planned mode.
As for your example I think you have to separate the fields in two separate Items:
- open, high, low, close, nominalPrice in a MERGE allowed Item;
- intradayTradeTickers in a DISTINCT allowed Item.
Regards,
Giuseppe
Similar Threads
-
By Virendra in forum Adapter SDKs
Replies: 1
Last Post: May 20th, 2016, 09:38 AM
-
By Ranag in forum Adapter SDKs
Replies: 1
Last Post: December 12th, 2014, 09:03 AM
-
By rvkvino in forum Client SDKs
Replies: 4
Last Post: September 24th, 2013, 09:28 AM
-
By hungtt in forum General
Replies: 1
Last Post: January 4th, 2011, 12:07 PM
-
By rsouissi in forum Client SDKs
Replies: 4
Last Post: March 6th, 2008, 01:59 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 04:08 PM.
Bookmarks