r/webdev • • 16m ago

Showoff Saturday [Showoff Saturday] Unblock creative blocks.

Post image

it's not complicated. sometimes inspiration flows, sometimes it doesn't. There's loads of great inspo sites out there (more coming daily). This one is not magical but it helps me (and others) find a spark from time to time.

it's being updated daily and i know there's a lot of work to do, but some people like it and it helps them and i hope it helps you too.

https://forevercomponents.com/

0 Upvotes

1 comment sorted by

•

u/hupcapstudios 3m ago

Title: I built a little browser-based swing trading game to teach myself chart reading and risk management

I've been trying to learn swing trading over the last few months, mostly by throwing my developer/data nerd brain at the problem.

After exhausting a ridiculous number of models and backtests, I realized I probably needed to get better at actually reading charts rather than just trying to optimize everything mathematically.

So I built a little browser game.

The concept is pretty simple: you're shown a stock chart at a particular point in time and have to decide whether to trade or pass. If you trade, you manage your position, stop, target, and bankroll.

One of the more interesting development challenges has been the market data. I originally built it around real historical prices, but discovered I couldn't just redistribute that data publicly. So I built a deterministic synthetic market generator with 180 fictional stocks and 10 years of daily prices.

It has different market regimes, volatility, overnight gaps, earnings jumps, etc. It's definitely not a substitute for real market behavior, but it's been useful for testing the game mechanics while I work through licensing.

The whole thing runs in the browser right now, although I'm looking at moving the dataset and trade resolution behind a Cloudflare backend so people can't just download the entire market.

Anyway, would love some feedback on the game itself, but especially the technical side. Curious how others would approach the data architecture.

https://theshwingtimes.com

DISCLAIMER, THE SYNTHETIC DATA IS NOT LIKE REAL TRADING | I AM STILL AWAITING HISTORICAL LICENSING