Compare a yield to tokenized treasuries
compare_yield_to_tokenized_treasuriesGiven an APY the user currently earns (e.g. a bank savings rate), computes the simple-interest difference versus the highest-yielding liquid tokenized treasury over a horizon. Returns arithmetic and assumptions only; it does not recommend.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amountUsd | No | Amount in USD (default 10,000) | |
| minTvlUsd | No | Liquidity floor for candidates (default 50,000,000) | |
| horizonDays | No | Horizon in days (default 365) | |
| currentApyPercent | Yes | APY the user earns today, in percent, e.g. 0.5 |