Calculate a Price-Weighted Market Index From a List of Asset Prices
a list containing OHLC prices
numeric value indicating asset weights
returns OHLC object with index price
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.