calculate_yield
Project compound returns for a USDC deposit into any ACCRUE vault or model portfolio over a given holding period. Uses live APY data and applies the ACCRUE platform fee, which is charged on PRINCIPAL (0.25%/yr standalone, 0.50%/yr managed falling to 0.25% above $1M) and never on yield. Returns gross yield, platform fee, net yield and final balance. Because the fee is on principal, net yield can be negative over a short horizon — net_is_negative flags that. Use this when the user asks "how much would I earn" or "what would my $X grow to".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| months | Yes | Holding period in months | |
| target_id | No | Optional vault ID or portfolio ID. If omitted, projects across all vaults and portfolios. | |
| amount_usdc | Yes | USDC deposit amount in dollars |