Hi all,
I was trying to retrieve data from a long list of RICs but turns out it is not working. Here is my work:
function onUpdate(subscription, ric, updatedValues) {
if (updatedValues["PCTCHNG"]) {
$('div #text').append(ric +" "+updatedValues["PCTCHNG"].formatted+" ");
}
}
function initApp() {
JET.Quotes.create().rics(orderRICs).formattedFields("PCTCHNG").onUpdate(onUpdate)
.start();
};
I am taking a list of around 170 FX RICS (e.g. EUR=). I tried to slice the array size down and turns out it starts working with 7 elements.
I wonder if there is a maximum for RICs I can subscribe for one time. Also, any fix I can apply if I want to retrieve all the RICs' data? Even it is not updated on a tick base.