Power-Trade / api-docs

0 stars 1 forks source link

Portfolio Total not always 100% reloaded from all markets & funds #16

Closed laisee closed 2 months ago

laisee commented 9 months ago

When I reload the Portfolio page in App by pulling down the app retrieves funds and trades updating the "portfolio" total as results are retrieved.

But this style of update has couple of issues

  1. Sometimes the refresh stops before all results are retrieved (or not all results are returned). This leaves the total as incomplete and incorrect. This leaves the App showing incorrect portfolio values which could make users think they have lost moneyb or that PT data is not reliable

  2. The order in which results are loaded causes the total to jump about and show interim numbers that are not complete e.g. from total of 1000 it might change to 0.00 then 250.00 then 800 then 950 and finally 1000.

Suggest a look at CoinMarketCap app which has a total portfolio value also made up on multiple accounts/wallets but it keeps showing the last value until all values are retrieved to calculate a new total.

Will add some video of PT app tomorrow to show reloading process.

laisee commented 6 months ago

Updated set of screen shots from Web app. Looking at the coin USD amounts, it seems like PTF price and valuation is jumping around by 20%-30% for some reason.

First image shows the balance correctly

Screenshot 2024-04-29 at 08 56 51

Second image shows the Total on Funds page now dropped by few hundred dollars, even though markets haven't moved

Screenshot 2024-04-29 at 08 56 32

Last image shows the total goes back to same levels after refreshing the UI

image

laisee commented 2 months ago

Resolved on IOS