Say I would like to create my own benchmark from two other benchmarks combined e.g. 70/30. Eg. 30% of FR0010510800 and 70% of IE00B3RBWM25. And show this newly created benchmark in a performance diagram. Is this possible?
Only by creating a new security for which you compute the prices externally, as a combination of your desired benchmarks.
Thread in German: Eigene, zusammengesetzte Benchmark definieren
I was able to build my own benchmark using n8n and some javascript magic.
I pull numbers from yahoo for different underlying assets. When the underlying assets have different currencies I pull the exchange rates as well. With those and the weighting, I calculate my own benchmark and provide the data to PP with a JSON.
The benchmark can be easily combined within the query by using the IDs from Yahoo and a weight:
https://n8n.your.n8ninstan.ce/webhook/your-webhook?id=CSH.PA&weight=0.3&id=VWRD.L&weight=0.7&range=1mo
Was a few hours of work, but works flawlessly. If someone is interested in the solution, let me know. Not sure yet if I share the full code.