Compute the arithmetic return(s) of one or several asset(s) for one or several time period(s).
References
643 matches
83 actions
Portfolio Optimizer
83 actions
Finance/Portfolio Optimizer
Compute the arithmetic return(s) of one or several asset(s) for one or several time period(s).
References
{
"type": "object",
"required": [
"assets"
],
"properties": {
"assets": {
"type": "array",
"items": {
"type": "object",
"required": [
"assetPrices"
],
"properties": {
"assetPrices": {
"type": "array",
"description": "assetPrices[t] is the price of the asset at the time t",
"items": {
"type": "number"
}
}
}
}
}
}
}{
"type": "object",
"required": [
"assets"
],
"properties": {
"assets": {
"type": "array",
"items": {
"type": "object",
"required": [
"assetReturns"
],
"properties": {
"assetReturns": {
"type": "array",
"description": "assetReturns[t] is the arithmetic return of the asset from the time t-1 to the time t, in percentage",
"items": {
"type": "number"
}
}
}
}
}
}
}