Bug 473322 was fixed by correcting the sharesFormatted column to actually use the shares value instead of the price. However, the OP also has an issue that his processing of the xxxFormatted columns is more difficult because they include thousands separators, which must explicitly be removed before converting the value to numeric in sql. It would be helpful for users who do process their sqlite (or other sql backend) data outside of KMM to have a configuration switch to tell KMM to not use thousands separators when saving those columns.