You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 1, 2024. It is now read-only.
Describe the bug
The bot does not accurately handle prices for centralized exchanges
Expected behavior
I think the bot should correctly convert prices for centralized exchanges even though it leans on a 32-bit N/D conversion process for
Price.Frequency
The frequency is: Always susceptible to incorrect conversions, especially for finer grained float values
Possible Solution
This bug can be fixed by using the inbuilt
price.Parse(v string)converter for the stellar library atgithub.tiyicn.workers.dev/stellar/go/price.see commit in https://github.com/nikhilsaraf/kelp/tree/improve_number_as_ratio