Skip to content

Conversation

@cj4c0b1
Copy link
Contributor

@cj4c0b1 cj4c0b1 commented Oct 12, 2025

  • Changed PNL percentage calculation to use margin instead of notional value
  • Updated both server-side (API) and client-side (PositionTable) calculations
  • Now matches aster.dex ROE calculation: (unrealizedPnl / margin) * 100
  • Fixes issue ROE% Calculation Mismatch with aster.dex #66
Screenshot 2025-10-12 at 10 28 06 Screenshot 2025-10-12 at 10 28 18

- Changed PNL percentage calculation to use margin instead of notional value
- Updated both server-side (API) and client-side (PositionTable) calculations
- Now matches aster.dex ROE calculation: (unrealizedPnl / margin) * 100
- Fixes issue CryptoGnome#66
- Add OPTIMIZER_SELECTED_SYMBOLS environment variable support
- Pass selected symbols from optimizer job to optimize-config.js
- Improve logging and progress reporting during optimization
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