I finally Built My Own Trading Exchange! - Pie Pack Exchange
All because I was Curious about what happens behind a trade on Binance.
I learned
order books,
matching engines,
Kafka,
WebSockets &
TimescaleDB
then connected it all into one system.
Learning Daily #15🍃
Building My Own Trade Exchange#9
I shipped the web socket support in my trading app, planned my implementation and gave prompt to Claude, it completed in less than hour!
I always verify the changes made by AI,
The AI responses are becoming so accurate..!!
Learning Daily #14🍃
Building My Own Trade Exchange#8
This trading app FRONTEND was completely created with AI (IN MINUTES)!
Saved my hours!
I know how to build it manually but why should I > When I have Agents to do so! 👀
✅Charts
✅OrderBook
✅Trade Form
✅Trades Stats..
Learning Daily#13🍃
Building My Own Trade Exchange#7
Integrated Kafka for event streaming in backend
I'm really getting comfortable with this trade engine now
It seemed complicated initially, yet it still is, but I'm getting used to it ⭐
Will do Frontend Charts soon!
When Bugbot approves your code so quick, you take it as a compliment! 👌
PR: github.com/modelence/modelen…
Learning Daily #12🍃
Building My Own Trade Exchange#6
This is taking while to understand trade engines.
I found no bottom in these concepts, I'm just digging digging...
Execute Trades > Price Changes > Trigger SL/TP > Price changed > Remove SL when TP executed and vice versa...
Learning Daily #11🍃
Building My Own Trade Exchange#5
Creating workflows on how trades move through an exchange
The deeper I go, the more complex it gets, as many nodes connected to each flow
Also I had to catch up on my PRs
Still making bit progress on this spot trading app!
I just created this repo to build my own crypto exchange
(Don't know how I'll do it yet, but I'll figure it out!)
I named it PiePack Exchange
(Copied from Backpack)
For others to see what I learned to build this, I added a LEARN_STACK folder to documenting everything I learned
Y Combinator already gave you startup ideas.
Build them!💸
You get AI-ready prompts for each one here:
Link ⤵
No Setup,
Just Login and prompt to build!
modelence.com/yc-rfs-fall-20…
Growing-Daily#8 🍃
Building my own Trade Exchange
I'm still learning TimescaleDB,
Learned
- Time Buckets
- Continuous Aggregates
I should have done with this TimeScaleDb, but did not got enough time last 2 days









