pancake-frontend
pancake-frontend copied to clipboard
[BUG] Incorrect APR and ROI calculation
Is there an existing issue for this?
- [X] I have searched the existing issues
Product
Farms
Current Behavior
Current APR calculation displays 10 trillion percent of interest rate
Current ROI displayed also incorrect
Expected Behavior
Correct calculation of APR and ROI
Steps To Reproduce
- enter to pancakeswap website
- go to Pool and open your liquidity position (please see screenshots attached)
Environment
- Device: Lenovo laptop AMD Ryzen 5 5500U, 16Gb ram
- OS: Ubuntu 22.04
- Browser: Brave Version 1.69.168 Chromium: 128.0.6613.138 (Official Build) (64-bit)
- Wallet: Metamask
Anything else?
No response
It's related to issues with API prices
https://wallet-api.pancakeswap.com/v1/prices/list/56%3A0x1ba42e5193dfa8b03d15dd1b86a3113bbbef8eeb
Hi thanks for the report. The price issue has been resolved.