Cointop keeps overwriting my non-default column selection
lyricnz opened this issue · comments
Simon Roberts commented
Simon Roberts commented
I think I've figured out this bug. During config load, it calls
SetupConfig => LoadPortfolioFromConfig => SetPortfolioEntry => ct.Save()
Which saves the current (half-loaded) configuration back to the file
It's a bit random because the order the config elements are processed in is random (it's looping across a map).
https://github.com/cointop-sh/cointop/blob/master/cointop/config.go#L579
Simon Roberts commented
I fixed this in the portfolio-holdings PR that's coming up
ac3acbc