Skip to content

expose claimable PNL calculation functions#28

Merged
0xahzam merged 4 commits intomasterfrom
ahzam/add-get-claimable-pnl
Jan 23, 2026
Merged

expose claimable PNL calculation functions#28
0xahzam merged 4 commits intomasterfrom
ahzam/add-get-claimable-pnl

Conversation

@0xahzam
Copy link
Contributor

@0xahzam 0xahzam commented Jan 22, 2026

  • add perp_position_get_claimable_pnl()
  • add math_calculate_net_user_pnl()
  • add spot_balance_get_token_amount()

@0xahzam 0xahzam changed the title add perp_position_get_claimable_pnl add perp_position_get_claimable_pnl and math_calculate_net_user_pnl Jan 22, 2026
@0xahzam 0xahzam changed the title add perp_position_get_claimable_pnl and math_calculate_net_user_pnl expose claimable PNL calculation functions Jan 22, 2026
@0xahzam 0xahzam requested a review from jordy25519 January 22, 2026 13:48
@0xahzam 0xahzam merged commit 2744106 into master Jan 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant