Hi
I am finding it pretty tough to understand the new Stream API Spec. and the sample code on Github, could anyone help with this please ?
Lets say we have an App. where we have 10 markets that we want to get the best 3 Back and Lay prices, but we also have a ladder grid open for an 11th market where we want the full market depth.
This was easy using the old API-NG, for each market price request we tagged the sent data with either EX_BEST_OFFERS or EX_ALL_OFFERS.
For the new stream subscription system I cant figure out how this could be done ?
The MarketSubscriptionMessage class contains these 2 member variables.
where the MarketFilter contains the list of the mktIds to subscribe to.
the MarketDataFilter contains the variable that allows us to pick either "EX_BEST_OFFERS" or "EX_ALL_OFFERS".
So to get our 10 markets to "best offers" depth of 3, we could do that easily enough setting the MarketDataFilter and MarketFilter appropriately.
But how do we now get the 11th market with full market depth.
We cant send another marketSubscription msg with just the 11th market to full depth, as that would cancel the other 10 market subscriptions.
I must be missing something obvious here ?
Thanks for any help
Regards Geoff
I am finding it pretty tough to understand the new Stream API Spec. and the sample code on Github, could anyone help with this please ?
Lets say we have an App. where we have 10 markets that we want to get the best 3 Back and Lay prices, but we also have a ladder grid open for an 11th market where we want the full market depth.
This was easy using the old API-NG, for each market price request we tagged the sent data with either EX_BEST_OFFERS or EX_ALL_OFFERS.
For the new stream subscription system I cant figure out how this could be done ?
The MarketSubscriptionMessage class contains these 2 member variables.
public MarketDataFilter MarketDataFilter { get; set; }
public MarketFilter MarketFilter { get; set; }
public MarketFilter MarketFilter { get; set; }
the MarketDataFilter contains the variable that allows us to pick either "EX_BEST_OFFERS" or "EX_ALL_OFFERS".
So to get our 10 markets to "best offers" depth of 3, we could do that easily enough setting the MarketDataFilter and MarketFilter appropriately.
But how do we now get the 11th market with full market depth.
We cant send another marketSubscription msg with just the 11th market to full depth, as that would cancel the other 10 market subscriptions.
I must be missing something obvious here ?
Thanks for any help
Regards Geoff


Comment