how to subscribe chains in rfa api net 8.2 ?
For a deeper look into our Elektron API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials | Articles
how to subscribe chains in rfa api net 8.2 ?
Hello @Marcelo Ledezma
Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.
Thanks,
AHS
Hi,
Please be informed that a reply has been verified as correct in answering the question, and marked as such.
Thanks,
AHS
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
Hello @Marcelo Ledezma ,
Included with RFA.NET SDK installation, in Examples folder, see example "StarterConsumer_Chain".
thanks .. the ansewer using the "starterConsumer Chair demo " for any Chains is :
"Source unavailable . Will recover when source is up "
why??
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.