Zum Inhalt
HALOWERK

Finopswerk

daily weighted capital return ledger

Originalbegin/endvaluationandsignedexternalflowdaycaptures determineendofdayweights,weightedcontributions,flow-adjustedgain/weightedcapitalandexactModifiedDietzESTIMATEratio. OWNpositivecapitalguardcapital<=0undefined/Unknown,neverinventzero;knowngainerrorsremainnegative. NOTtrueTWR/IRR/annualization/GIPSfullcompliance/valuation/investment/risk/tax/advicecertification..

POST https://finops.halowerk.com/v1/daily-weighted-capital-return-ledger

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
begin_valueintegerJa
end_valueintegerJa
period_daysintegerJa
flowsarrayJa
reportobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "begin_value": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000
    },
    "end_value": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000
    },
    "period_days": {
      "type": "integer",
      "minimum": 1,
      "maximum": 366
    },
    "flows": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "amount_minor": {
            "type": "integer",
            "minimum": -1000000,
            "maximum": 1000000
          },
          "day_domain": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 366
            },
            "minItems": 1,
            "maxItems": 2
          }
        },
        "required": [
          "amount_minor",
          "day_domain"
        ],
        "additionalProperties": false
      },
      "minItems": 0,
      "maxItems": 8
    },
    "report": {
      "type": "object",
      "properties": {
        "flow_weights": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "n": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^(0|-?[1-9][0-9]{0,63})$",
                    "maxLength": 65
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "d": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{0,63}$",
                    "maxLength": 64
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "n",
              "d"
            ],
            "additionalProperties": false
          },
          "minItems": 0,
          "maxItems": 8
        },
        "weighted_flows": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "n": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^(0|-?[1-9][0-9]{0,63})$",
                    "maxLength": 65
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "d": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{0,63}$",
                    "maxLength": 64
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "n",
              "d"
            ],
            "additionalProperties": false
          },
          "minItems": 0,
          "maxItems": 8
        },
        "net_external_flow": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": -1000000000,
              "maximum": 1000000000
            },
            {
              "type": "null"
            }
          ]
        },
        "investment_gain": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": -1000000000,
              "maximum": 1000000000
            },
            {
              "type": "null"
            }
          ]
        },
        "weighted_capital": {
          "type": "object",
          "properties": {
            "n": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^(0|-?[1-9][0-9]{0,63})$",
                  "maxLength": 65
                },
                {
                  "type": "null"
                }
              ]
            },
            "d": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^[1-9][0-9]{0,63}$",
                  "maxLength": 64
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "n",
            "d"
          ],
          "additionalProperties": false
        },
        "return": {
          "type": "object",
          "properties": {
            "n": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^(0|-?[1-9][0-9]{0,63})$",
                  "maxLength": 65
                },
                {
                  "type": "null"
                }
              ]
            },
            "d": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^[1-9][0-9]{0,63}$",
                  "maxLength": 64
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "n",
            "d"
          ],
          "additionalProperties": false
        },
        "return_defined": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 0,
              "maximum": 1
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "flow_weights",
        "weighted_flows",
        "net_external_flow",
        "investment_gain",
        "weighted_capital",
        "return",
        "return_defined"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "begin_value",
    "end_value",
    "period_days",
    "flows",
    "report"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "begin_value": 100000,
  "end_value": 135000,
  "period_days": 30,
  "flows": [
    {
      "amount_minor": -2000,
      "day_domain": [
        6
      ]
    },
    {
      "amount_minor": 20000,
      "day_domain": [
        11
      ]
    }
  ],
  "report": {
    "flow_weights": [
      {
        "n": "4",
        "d": "5"
      },
      {
        "n": "19",
        "d": "30"
      }
    ],
    "weighted_flows": [
      {
        "n": "-1600",
        "d": "1"
      },
      {
        "n": "38000",
        "d": "3"
      }
    ],
    "net_external_flow": 18000,
    "investment_gain": 17000,
    "weighted_capital": {
      "n": "333200",
      "d": "3"
    },
    "return": {
      "n": "15",
      "d": "98"
    },
    "return_defined": 1
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-07, 02:42 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →