Skip to main content
Glama

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
NameRequiredDescriptionDefault
platformYesThe lending platform to use
assetYesThe asset to borrow
collateralYesThe collateral asset
collateralAmountYesAmount of collateral tokens
collateralPriceYesCurrent price of collateral in USD
ltvYesTarget LTV ratio (percentage, e.g., 75 for 75%)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/qingfeng/defi-rates-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server