Skip to content

📉 Profit-Loss | Realized & Unrealized PnL Calculator for LP Positions #608

Description

@Sadeequ

Impact Severity: High

Module: stellarflow-frontend/src/components/pools/PoolPnLCard.tsx

Description:

Display real-time profit and loss metrics for liquidity providers, factoring in collected trading fees, pool share ratio changes, and impermanent loss.

Technical Requirements:

  • Calculate initial deposit value vs. current redeemable value

  • Separate yield earned via trading fees from raw pool asset valuation shifts

  • Display color-coded PnL badges (+/-% and USD equivalent) across active pool positions

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions