question

Upvotes
Accepted
9 3 3 5

Maximum Subscription for quote (WEB SDK)

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.

eikoneikon-app-studioquote
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
9 3 3 5

Sorry... My bad... Seems I have subscribe RICs for multiple times.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea