calculate_looping_strategy
Calculate leverage looping strategy metrics including multiplier, liquidation price, and interest costs for DeFi lending platforms.
Instructions
Calculate the leverage looping strategy metrics including leverage multiplier, liquidation price, and interest costs.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | The lending platform to use | |
| asset | Yes | The asset to borrow | |
| collateral | Yes | The collateral asset | |
| collateralAmount | Yes | Amount of collateral tokens | |
| collateralPrice | Yes | Current price of collateral in USD | |
| ltv | Yes | Target LTV ratio (percentage, e.g., 75 for 75%) |