achannarasappa / ticker

Terminal stock ticker with live updates and position tracking
GNU General Public License v3.0
4.94k stars 264 forks source link

Avg. Cost missing in second group #270

Open imbezol opened 2 months ago

imbezol commented 2 months ago

When using groups the average cost field is empty on the second group causing the holdings and percent of portfolio value to move left to be directly after "Avg. Cost:"

To Reproduce Steps to reproduce the behavior:

  1. Create a config with two groups in it
  2. Add stocks to both groups
  3. Start the app
  4. Tab to the second group
  5. Look at the Avg. Cost and you'll see it's missing and the holdings and percent of portfolio values have shifted to its spot.

Expected behavior Should show the Avg. purchase cost of the holdings.

Screenshots image

Environment (please complete the following information):

imbezol commented 1 month ago

I will add that with further observation I've seen that this only shows up occasionally. There must be some values in the config file or the polled information that triggers it.