crypto_apy-apr-convert
Convert APY to APR or vice versa with adjustable compounding frequency to compute equivalent annual rates and periodic yields.
Instructions
Convert between APY and APR with configurable compounding frequency.
Use when converting between APY and APR with different compounding frequencies. Provide rate and compounding periods. Returns: equivalent APY, APR, daily/weekly/monthly rates, and effective annual rate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | Yes | The rate to convert (as decimal, e.g. 0.12 = 12%) | |
| from_type | No | Input rate type to convert from | apr |
| compounding | No | Compounding frequency | daily |