how to subscribe chains in rfa api net 8.2 ?
The StarterConsumer_Chain example only subscribes to a chain RIC to get constituent RICs in that chain. For example, the following RICs are some constituent RICs in 0#.FTSE.
To get data for constituent RICs, you need to subscribe to those constituent RICs, such as PSN.L, PSON.L, REL.L, etc.
You can refer to the StarterConsumer_BatchView example which demonstrates how to send a batch request, and how to send a request with a view. The FIDs for prices or closing prices could be 6 (TRDPRC_1), 21 (HST_CLOSE), and 3372 (OFF_CLOSE).
TRDPRC_1 "LAST" 6 TRDPRC_2 PRICE 17 REAL64 7 ! ! Last trade price or value. HST_CLOSE "HISTORIC CLOSE" 21 NULL PRICE 17 REAL64 7 ! ! Historical unadjusted close or settlement price. ! OFF_CLOSE "OFFICIAL CLOSE" 3372 NULL PRICE 17 REAL64 7 ! ! The official closing price for this market. Price may be qualified by CLOSE_TONE
Muchas Gracias !
thanks .. the ansewer using the "starterConsumer Chair demo " for any Chains is :
"Source unavailable . Will recover when source is up "
Hello @Marcelo Ledezma ,
The service name that example uses is configured in StarterConsumer_Chain.cfg file and is "\service = "DIRECT_FEED"
This should be updated to the real service name that is available on your local market data infra, for example ELEKTRON_EDGE. Please confirm the available consolidated realtime service name with your market data admin/group and configure the valid service name to be used by the example code.
How to set if prices inday or closing prices?