How to get real time data for a few currencies with AdxRtList simultaneously?

Options

Hello! I am writing application on C#. To get real time data for one currency I writing this:

AdxRtList.Source = "IDN";
AdxRtList.RegisterItems("GPB=", "BID");
AdxRtList.StartUpdates(RT_RunMode.RT_MODE_ONUPDATE);

and this

void adxRtList_OnUpdate(string a_itemName, object a_userTag, RT_ItemStatus a_itemStatus)
{
//use item name to get the data
object temp = AdxRtList.get_ListFields(a_itemName, RT_FieldRowView.RT_FRV_ALL, RT_FieldColumnView.RT_FCV_VALUE);
object[,] l_fields = (object[,])Convert.ChangeType(temp, typeof(object[,]));
label5.Text = a_itemName + ": " + l_fields[0, 1];


AdxRtList.StopUpdates();
}

But I need to get data for 30 currencies, how can I do it? I tried to write

AdxRtList.RegisterItems("GPB=, AUD=, RUB=", "BID");

but it doesn't work.

Best Answer

Answers