News for hackers. Stuff that matters.
Re:Show HN: Watch 3 AIs compete in real-time stock trading (... by geor9e on Tuesday December 31, 2024 @12:37PM (#42560271)
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.

There are no comments on this comment yet.