Day one of creating a day trading bot in unreal engine. Here is “D20” paper trading today!
u/StarsapBill ·
Reddit — r/algotrading
· March 28, 2026 at 06:40
· ⬆ 118 pts
· 💬 43 comments
| View on Reddit ↗
AI Summary
Summary
The post describes a simulated day trading bot built in Unreal Engine that uses a random dice-roll mechanism to generate buy/sell signals on minute-level data.
The author's thesis is to explore the performance of purely random trading through simulation, as a technical exercise in data integration and UI design, not to provide actionable investment insights.
Quality assessment: This is noise—it is a personal project with no research or market analysis.
Score118
Comments43
Upvote %85%
▶ Full Post Text
D20 just randomly buys and sells. Please don’t take his advice.
If you’re curious about his “amazing” trading strategy, here it is:
Every minute, roll a d20. You must roll a 20 or higher.
The next minute, roll again. You must roll a 19 or higher.
Continue lowering the required roll each minute.
After 10 minutes, roll every minute and act on a 10 or higher (buy or sell).
Whenever D20 makes a trade, the counter resets. Then the process repeats every minute.
I’m using Alpaca data from earlier today and generating a stock price every minute. It was a fun exercise figuring out how to extract that data and organize it within Unreal Engine’s Blueprint system.
Next step is building a proper UI to track performance, like whether he ends the day with a profit. Once I run him through a single day, I can simulate 100 runs instantly to see if there’s any pattern in the randomness.
(Also, I’m not a day trader. Just a game designer who knows Unreal Engine and decided this was a good use of time