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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"platform": "<platform>",
"asset": "<asset>",
"collateral": "<collateral>",
"collateralAmount": "<collateralAmount>",
"collateralPrice": "<collateralPrice>",
"ltv": "<ltv>"
},
"name": "calculate_looping_strategy"
}
}Input 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%) |