Skip to content

Conversation

@Aviksaikat
Copy link
Collaborator

Adds a new script to display open GMX positions using the eth_defi SDK, replacing the old gmx-python-sdk functionality. Features include:

  • Real-time position fetching with oracle prices
  • Formatted table display with Rich library
  • P&L calculation in both percentage and USD
  • Color-coded profit/loss indicators
  • Summary statistics (total positions, size, P&L)
  • Support for multiple chains (Arbitrum, Avalanche)
  • Read-only mode (no wallet required)

The script provides an equivalent implementation to the old SDK example with enhanced features and better integration with eth_defi.

Adds a new script to display open GMX positions using the eth_defi SDK,
replacing the old gmx-python-sdk functionality. Features include:

- Real-time position fetching with oracle prices
- Formatted table display with Rich library
- P&L calculation in both percentage and USD
- Color-coded profit/loss indicators
- Summary statistics (total positions, size, P&L)
- Support for multiple chains (Arbitrum, Avalanche)
- Read-only mode (no wallet required)

The script provides an equivalent implementation to the old SDK example
with enhanced features and better integration with eth_defi.
@Aviksaikat Aviksaikat closed this Nov 8, 2025
@Aviksaikat Aviksaikat deleted the claude/gmx-positions-display-011CUv3rXEgmpWBFfBrASUEs branch November 8, 2025 18:49
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.

2 participants