Description Usage Arguments Details Value References Examples
indexMembersUpdate
derives the new weights for the coming period. The methodology is according to Trimborn and Haerdle (2018). The method derives the new weights over the data period provided. The data input defines the length of the period, hence it can be different from full month. This function is meant for continuous updating and display of an index on a website. For the derivation of an index for analysis purposes, please refer to the function "indexComp"
.
1 | indexMembersUpdate(market, price, vol, weighting, index.const, last.value)
|
market |
An xts object with the market capitalization data. The default is |
price |
An xts object with the price data. An entry is always required. |
vol |
An xts object with the trading volume (liquidity) data. The default is |
weighting |
The weighting scheme to be applied. |
index.const |
Number of Index constituents. The number can be derived from |
last.value |
The last index value before rederivation. |
indexMembersUpdate
derives the new weights for the coming period. The methodology is according to Trimborn and Haerdle (2018). The method derives the new weights over the data period provided. The data input defines the length of the period, hence it can be different from full month. For more details, please see the methodology section of the paper Trimborn and Haerdle (2018).
A list, entry 1 is the ordered names of index members, entry 2 the respective consideration of the index constituents, entry 3 the weights of the index members which gives multiplied with entry 2 the actual weight and entry 4 the new divisor of the index.
Trimborn, S. and Haerdle, W.K. (2018). CRIX an Index for cryptocurrencies, Journal of Empirical Finance 49, pp. 107-122. https://doi.org/10.1016/j.jempfin.2018.08.004
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.