Hacker News new | ask | show | jobs
by jingojango2 531 days ago
Would be interesting to see the amount of fractional shares bought as well as its comparison in percentage to the total budget that day.
2 comments

The fractional share is $5 divided by the share price. The bots each spend $5, so the percentage of the budget each spends is 1 divided by the arbitrary number of bots, so in this case 16.7%. Share price is an arbitrary value in that a company can split or reverse split at will. So both calculations would be arbitrary values.
Great point, I will add that to the recent trades table at the bottom. It should use the total budget for the day.