Hi,
I have tried a lightstreamer with 2 subscriptions and 40 items each.
I've used the below tickers.
I wasn't able to get all the instrumets and I don't know why? What am I missing? I was getting only 1st set of 40 instruments.
Mode: MERGE
Fields: ['UTM', 'LTP_OPEN', 'LTP_CLOSE']
Items:
['CHART:OD.D.MTH2EGBP.30.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.29.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.28.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.27.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.26.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.25.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.24.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.23.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.22.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.21.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.20.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.19.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.18.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.17.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.16.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.15.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.14.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.13.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.12.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.11.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.10.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.9.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.8.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.7.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.6.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.5.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.4.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.3.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.2.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.1.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.80.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.79.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.78.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.77.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.76.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.75.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.74.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.73.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.72.IP:1MINUTE', 'CHART:OD.D.MTH2EGBP.71.IP:1MINUTE']
and
['CHART:OD.D.MTH2AUD.72.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.71.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.70.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.69.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.68.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.67.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.66.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.65.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.64.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.63.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.62.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.61.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.60.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.59.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.58.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.57.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.56.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.55.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.54.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.53.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.52.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.51.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.50.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.49.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.48.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.47.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.46.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.45.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.44.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.43.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.42.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.41.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.40.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.39.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.38.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.37.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.36.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.35.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.34.IP:1MINUTE', 'CHART:OD.D.MTH2AUD.33.IP:1MINUTE']
Thanks,
Dominik
anyone?
Did you manage to find a solution for this?
I can safely create and connect many subscriptions, but I cannot make a single subscription with multiple items.
Nevermind, I did manage :)
It is definitely possible to have several items for a single subscription as long as they refer to the same item "type". For example, you can subscribe to three chart epics as follows (I am using Swift, but it is the same in any language).
let subscription = LSSubscription(mode: "MERGE", items: ["CHART:CS.D.EURGBP.MINI.IP:1MINUTE", "CHART:CS.D.EURUSD.MINI.IP:1MINUTE", "CHART:CS.D.EURCAD.CFD.IP:1MINUTE"], fields: ["UTM", "BID_OPEN", "OFR_OPEN", "BID_CLOSE", "OFR_CLOSE"])
subscription.requestedSnapshot = "no"
let client: LSLightstreamerClient = /* The pointer to the Lighstreamer client */
client.subscribe(subscription)