There is nothing in the spec saying to output the purchase price to the user.
That is because such a page is not required.
check50
is parsing your index.html page after it makes one purchase, so it should find the current value of those shares 112.00
and the updated value of cash (10000-112) 9,888.00
If I had to guess, I'd say that you aren't formatting your numbers in the jinja template to be formatted using usd
like {{value | usd}}
One more answer: https://stackoverflow.com/a/77706367/20806031