{"slug":"invest-math-x402tookit-com-dca-vs-lump-d04aa9","title":"Compare equal periodic buys (dollar-cost averaging) with one lump sum on the fir","host":"invest-math.x402tookit.com","method":"GET","resource":"https://invest-math.x402tookit.com/dca-vs-lump","category":"market","description":"Compare equal periodic buys (dollar-cost averaging) with one lump sum on the first date, over a list of prices.","price_listed":0.02,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"perBuy":1000,"prices":"100,90,80,95,110,105"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"perBuy":{"description":"Amount invested at each date","type":"number"},"prices":{"description":"Price at each buy date, comma separated, 2 to 600 values","type":"string"}},"required":["prices","perBuy"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"asOf":{"type":["null","string"]},"buys":{"type":["null","number"]},"dca":{"properties":{"averageCost":{"type":["null","number"]},"finalValue":{"type":["null","number"]},"returnPct":{"type":["null","number"]},"units":{"type":["null","number"]}},"type":["null","object"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"finalPrice":{"type":["null","number"]},"lumpSum":{"properties":{"cost":{"type":["null","number"]},"finalValue":{"type":["null","number"]},"returnPct":{"type":["null","number"]},"units":{"type":["null","number"]}},"type":["null","object"]},"notChecked":{"items":{"type":"string"},"type":["array","null"]},"priceChangePct":{"type":["null","number"]},"reasons":{"items":{"type":"string"},"type":["array","null"]},"source":{"type":["null","string"]},"summary":{"type":["null","string"]},"totalInvested":{"type":["null","number"]},"verdict":{"type":["null","string"]},"winner":{"type":["null","string"]}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Compare equal periodic buys (dollar-cost averaging) with one lump sum on the first date, over a list of prices.","last_updated":"2026-10-20T20:03:40.633Z","schemes":["exact"]}