CryptoGnome / LimitSwap

LimitSwap is fully functional DeFi Trading Bot. No fees. You just need to hold LIMIT Utility token in your wallet to use.
https://www.limitswap.com/
280 stars 150 forks source link

SELLAMOUNTINTOKENS is not working #378

Open jondoeog opened 3 years ago

jondoeog commented 3 years ago

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 commented 3 years ago

@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 commented 2 years ago

solved since 4.0.0