DCA vs Lump Sum Calculator
dca_vs_lump_sumDollar-cost averaging vs lump sum calculator with an interactive chart. Compares investing a fixed amount at each price in a list with investing the same total at the first price, both valued at the last price. Use it when the person provides the price series.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"amount_per_period": "<amount_per_period>",
"prices": "<prices>"
},
"name": "dca_vs_lump_sum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prices | Yes | One price per period, oldest first, from 1 to 120 prices. | |
| amount_per_period | Yes | Dollars invested at each price, from 0 to 1,000,000,000. |