agent0 icon indicating copy to clipboard operation
agent0 copied to clipboard

Use `calc_remove_liquidity` and `calc_redeem_withdrawal_shares` in calculating unrealized value

Open slundqui opened this issue 5 months ago • 0 comments

Current lp valuation only uses lp_share_price, which can be inaccurate. Use rust calc_remove_liquidity and calc_redeem_withdrawal_shares to get these values.

slundqui avatar Sep 13 '24 19:09 slundqui