pancake-frontend icon indicating copy to clipboard operation
pancake-frontend copied to clipboard

[BUG] Incorrect APR and ROI calculation

Open alexeysmovzh opened this issue 1 year ago • 1 comments

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

Screenshot from 2024-10-19 20-00-09

Current ROI displayed also incorrect Screenshot from 2024-10-19 19-59-58

Expected Behavior

Correct calculation of APR and ROI

Steps To Reproduce

  1. enter to pancakeswap website
  2. 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

alexeysmovzh avatar Oct 20 '24 08:10 alexeysmovzh

It's related to issues with API prices

https://wallet-api.pancakeswap.com/v1/prices/list/56%3A0x1ba42e5193dfa8b03d15dd1b86a3113bbbef8eeb

gades avatar Oct 30 '24 09:10 gades

Hi thanks for the report. The price issue has been resolved.

chefjackson avatar Nov 08 '24 02:11 chefjackson