crypto dca
crypto_dcaDollar-cost-averaging backtest on real daily prices: buy a fixed amount of any Coinbase-listed coin every N days over the last 30 to 1,500 days and see total invested, coins bought, average cost, value now, profit, return, the worst drawdown against money put in, how a lump sum on day one compares, and an equity curve. Optional fee per buy. $0.003. Costs $0.003 USDC per call (x402).
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": {
"pair": "<pair>"
},
"name": "crypto_dca"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | history length, default 365, max 1500 | |
| pair | Yes | BTC-USD, ETH-USD, SOL-USD or a symbol | |
| amount | No | per buy, default 100 | |
| every_days | No | default 7 | |
| fee_percent | No |