Portfolio Today's Gain calculation is wrong

Avatar
  • updated
  • Awaiting Customer Reply

I found a bug in how "Today's % Gain" is calculated in my portfolio holdings. I noticed that this value is basically calculated as (today's gain) / Value. It should instead be (today's gain) / (Value - today's gain).


I wouldn't have noticed this had I not had some big moves in my portfolio yesterday. For example, if a stock moves down 33% in a day, this will appear as a -50% loss. That is, if the stock is down from $9 yesterday to $6 today, the current formula will calculate (-3) / 6 = -50%, whereas the correct formula is (-3) / (6 + 3) = -33%.

Portfolio

How would you rate the customer service you received?

Satisfaction mark by Mister Bear 4 years ago

Add a comment about quality of support you received (optional):

Pinned replies
Avatar
SA Admin Kushal Mehrotra
  • Answer
  • Completed

Hi Mister Bear,

Thank you for bringing this to our notice. We have fixed the bug and now you will see 'Today's % gain' equal to the 'change %' on the summary tab.
Please feel free to reach out if there's anything else we can assist you with.


Regards,
Kushal Mehrotra
Data QA Analyst, Seeking Alpha

Avatar
SA Admin Kushal Mehrotra
  • Answer
  • Completed

Hi Mister Bear,

Thank you for bringing this to our notice. We have fixed the bug and now you will see 'Today's % gain' equal to the 'change %' on the summary tab.
Please feel free to reach out if there's anything else we can assist you with.


Regards,
Kushal Mehrotra
Data QA Analyst, Seeking Alpha

Avatar
Doug in Shanghai

This was fixed but has now slipped back to the old format...  it reports the loss / gain since opening bell, not at the price you paid if you bought the stock during the day.

Avatar
SA Admin Kushal Mehrotra
  • Awaiting Customer Reply

I tried to replicate the issue, but it seems to be working fine right now. are you seeing the calculations differently?

In here the lot of 382 was entered several days earlier and the lot if 430 was added just now. bot seem to be reflecting the correct changes.