impermanent-loss

Installation
SKILL.md

Impermanent Loss Calculator

A financial utility that helps agents quantify the risk of providing liquidity. It calculates the divergence loss experienced when the price ratio of pooled tokens changes.

Quick Start

# Calculate IL if one token doubles in price (200% or 2.0x ratio change)
il_data = await agent.run_tool(
    "il_calc",
    price_change_ratio=2.0
)
print(il_data)

Scripts

Installs
1
GitHub Stars
17
First Seen
Aug 3, 2026
impermanent-loss — xspoonai/spoon-awesome-skill