how to get FX rate via EMA api
You can subscribe to one of the currency RIC's to get real time data. Use one of the EMA example or tutorial. For example, spot rate for Canadian dollar is CAD=, Pound Sterling is GBP=. The Euro/Sterling FX Cross Rate is EURGBP=. Use RIC search tool to find out the identifier for the currency of interest.
Running consumer - Host: localhost:14002, Service: ELEKTRON_AD, User: user1, RIC: GBP=Item Name: GBP=Service Name: ELEKTRON_ADItem State: Open / Ok / None / 'All is well'PROD_PERM(1): 213RDNDISPLAY(2): 153DSPLY_NAME(3): BARCLAYS LONTIMACT(5): 15:40:00:000:000:000NETCHNG_1(11): 3.0E-4HIGH_1(12): 1.3259LOW_1(13): 1.3171CURRENCY(15): 840ACTIV_DATE(17): 17 NOV 2017OPEN_PRC(19): 1.3193HST_CLOSE(21): 1.3193BID(22): 1.3196BID_1(23): 1.3194BID_2(24): 1.3195ASK(25): 1.32ASK_1(26): 1.32ASK_2(27): 1.32ACVOL_1(32): 101728.0...