Skip to content

Fix close position max size formatting#226

Open
bkin-bot wants to merge 1 commit into
capofficial:mainfrom
bkin-bot:main
Open

Fix close position max size formatting#226
bkin-bot wants to merge 1 commit into
capofficial:mainfrom
bkin-bot:main

Conversation

@bkin-bot
Copy link
Copy Markdown

Fixes #11

Changes:

  • Populates the close amount from the formatted Max value instead of the raw position size.
    • Keeps the displayed max size and the input value aligned.
      Verification:
  • npm ci
    • npm run build
      AI disclosure: this patch was prepared by Codex acting as an authorized delegate for this contribution.

Bounty payout route after valid merged fix: https://paypal.me/BraxtonKinney. If this bounty must be paid in crypto, I can coordinate the required payout address after merge.

Use the same formatted max position size when populating the close amount input.
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.

Size to close is not well formatted, sometimes

1 participant