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

SELLAMOUNTINTOKENS is not working #378

Open
jondoeog opened this issue Nov 28, 2021 · 2 comments
Open

SELLAMOUNTINTOKENS is not working #378

jondoeog opened this issue Nov 28, 2021 · 2 comments

Comments

@jondoeog
Copy link

Newest ver 3.36

"SELLAMOUNTINTOKENS": "ALL",
this field is not working,
let's say I have 10 000 tokens for sale and I want to sell 1k on each transaction to avoid high price impact and want to liquidate in batches.

I use
"SELLAMOUNTINTOKENS": "1000",

bot still sell ALL tokens in 1 transaction.

@tsarbuig
Copy link
Contributor

tsarbuig commented Dec 2, 2021

@CryptoGnome is it normal that in the code, in the "else" condition, it's written :
amount = Decimal(amount) * DECIMALS
instead of :
amount = int(Decimal(amount) * DECIMALS)

?

@tsarbuig
Copy link
Contributor

tsarbuig commented Jan 5, 2022

solved since 4.0.0

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

No branches or pull requests

2 participants