Customised functions on streamed data

I tried the ek.StreamingPrices to retrieve some streaming prices and it works.

Now I would like to construct a customised index based on the those price, and would like to see the index going up and down based on the movement of streamed prices.

For example, i would like to have a stupid but simple index as AA = EURUSD rate + 2 * USDCHF rate. I would like to show the value of AA based on streamed prices, so AA is expected to fluctuate as EURUSD and USDCHF are changing all the times.

Any ideas on how to get this done? Thanks.

Best Answer

Answers