Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lower the percentage to 0.5% in liquidity requirement #1220

Conversation

cfaur09
Copy link
Contributor

@cfaur09 cfaur09 commented Mar 26, 2024

Reasoning

  • Lowering the threshold from 1% to 0.5% allows for a more precise identification of tokens with genuinely low liquidity, ensuring that our liquidity checks are more aligned
  • Using a constant for the low liquidity threshold instead of a hardcoded numeric value makes the code easier to read and understand.

Proposed Changes

  • Change the liquidity check threshold from 1% (previously hardcoded as 0.01) to 0.5% (now defined as LOW_LIQUIDITY_THRESHOLD), to better identify tokens with low liquidity.

How to test

  • /tokens -> verify the sorted tokens

@tanghel tanghel merged commit d5dc553 into development Mar 26, 2024
3 checks passed
@tanghel tanghel deleted the SERVICES-2211-lower-the-percentage-to-0-5-in-liquidity-requirement branch March 26, 2024 08:30
@cfaur09 cfaur09 added the feature New feature or request label Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants