Skip to content

fix: format max close size#260

Open
380712766-dot wants to merge 1 commit into
capofficial:mainfrom
380712766-dot:fix-close-size-format
Open

fix: format max close size#260
380712766-dot wants to merge 1 commit into
capofficial:mainfrom
380712766-dot:fix-close-size-format

Conversation

@380712766-dot

Copy link
Copy Markdown

Summary

  • Format the max close size before writing it into the close position input.
  • Keep the input value aligned with the close order submission precision.
  • Avoid browser number validation errors caused by floating point noise such as 9.1138999999.

Tests

  • Ran git diff --check.

Note: I could not run the full npm build locally because npm is not installed in this environment.

Closes #11

@380712766-dot

Copy link
Copy Markdown
Author

I opened a PR for this issue. Could you please assign this bounty to me?

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