| name | yield-calc |
| description | Project future returns based on APY and compounding. |
| version | 1.0.0 |
| author | SpoonOS Contributor |
| tags | ["web3","defi","investment","planning","compound-interest"] |
Yield Calculator
A forecasting skill for DeFi agents. It converts APR to APY, handles compounding frequency, and projects the future value of a crypto investment.
Quick Start
projection = await agent.run_tool(
"calc_yield",
principal=1000,
apr_percent=50,
days=365
)
print(projection)
Scripts
Best Practices
- Use to compare DeFi pools (e.g., "Pool A vs Pool B").
- Remember that DeFi rates fluctuate; this provides a theoretical projection.