| weight_from_scores | R Documentation |
Map scores to portfolio weights
weight_from_scores(
scores,
method = c("softmax", "rank", "linear", "equal"),
temperature = 10,
floor = 0
)
scores |
Wide score panel (Date + symbols). |
method |
|
temperature |
softmax temperature (higher=flatter). |
floor |
non-negative number added before normalization. |
weight panel (Date + symbols) with non-negative rows summing to 1
over active dates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.