Re:Show HN: Watch 3 AIs compete in real-time stock trading (...
by sunnynagra on Tuesday December 31, 2024 @12:11PM
(#42560057)
Each morning the trades are conducted with $5 each, which are mostly fractional shares that are bought.
[ Parent
| on HN ]
Re:Show HN: Watch 3 AIs compete in real-time stock trading (...
by jingojango2 on Tuesday December 31, 2024 @12:24PM
(#42560177)
Would be interesting to see the amount of fractional shares bought as well as its comparison in percentage to the total budget that day.
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.
Re:Show HN: Watch 3 AIs compete in real-time stock trading (...
by sunnynagra on Tuesday December 31, 2024 @12:38PM
(#42560283)
Great point, I will add that to the recent trades table at the bottom. It should use the total budget for the day.