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.
I would suggest that you study how to code in Python, here is an example online tutorial.
Here is the sample code using StreamingPrices to get EUR= and CHF= then do the calculation on Python code: