dca_plan
Simulates buying a fixed amount of a crypto pair on a schedule over past daily prices and returns invested, value, average cost and return. 0.002 USDC per call via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| pair | Yes | Pair such as BTC-USDT | |
| amount | Yes | Amount per buy in quote currency | |
| everyDays | No | ||
| paymentProof | No | Payment proof: USDC tx hash on Polygon or Base (0x...) or Solana tx signature. Omit on the first call to receive the 402 payment instructions, pay, then call again with the proof. |