beeb / pancaketrade

Limit orders for PancakeSwap
GNU General Public License v3.0
200 stars 91 forks source link

price impact too high 97.5 #91

Closed beeb closed 2 years ago

beeb commented 2 years ago

Discussed in https://github.com/beeb/pancaketrade/discussions/90

Originally posted by **feirt1** May 29, 2022 hi i have a problem when i buy a token , in every token i buy i have this error ![msg2027416420-1652](https://user-images.githubusercontent.com/106494421/170892381-5cec00c2-a518-4fab-90e6-530d49c5eb2e.jpg) i put this conf, before i had 0.05 and i still got errors [ EDITED FOR PRIVACY ]

The number of decimals of the token is not taken into account, leading to bad prediction if the number of decimals is not 18.

beeb commented 2 years ago

Fixed in https://github.com/beeb/pancaketrade/releases/tag/v0.7.2