1

Have a look at what your index renders if user buys 2 shares of something. I suspect it will show the price twice and not "total value for each holding". The usd function returns a string, so price will be treated by database as a string because price = usd(price). (sqlite uses dynamic typing, more detail can be found in the doc) python will gladly ...


Only top voted, non community-wiki answers of a minimum length are eligible