✨ Visual Editor

close

Thread Truncated

Only the first 20 tweets are shown to ensure high-quality rendering and prevent image size issues.

palette Canvas & Background

Gradient:arrow_forward
Text Color:
135°

style Card Style

40px
16px

text_fields Typography

16px
Roan
@RohOnChain
I will break down exactly how to build the loops that run an entire quant trading system on their own.

Let's get straight to it.
Thread image
Roan
@RohOnChain
>Bookmark This - I'm Roan, a backend developer working on system design, HFT-style execution, and quantitative trading systems. My work focuses on how prediction markets actually behave under load. For any suggestions, thoughtful collaborations, partnerships DMs are open.
Roan
@RohOnChain
One thing I am starting from today.
Roan
@RohOnChain
If you are building a quant system, about to start or even just thinking about it, DM me what you are working on or just reply under this article and I will reach out to you (even you can simply give me the screenshot of your current architecture).

I will personally walk through the first 20 setups show you the gap between what you have and a system that actually prints alpha.


Most quants still prompt Claude. They type. They wait. They read the output. They type again.

The smartest builders on the planet have stopped doing that.
Roan
@RohOnChain
They write loops. The loops prompt Claude. The loops verify the output. The loops decide what happens next. The loops keep running after the laptop is closed.
Roan
@RohOnChain
Boris Cherny, the head of Claude Code at Anthropic, said it plainly two weeks ago. "I don't prompt Claude anymore. I have loops running that prompt Claude and figuring out what to do. My job is to write loops." That single sentence reframed how every serious AI engineer on earth thinks about building. And it pairs perfectly with quant trading.

Most retail quants will read this and say it does not apply to them because they are too small. They are wrong. The smaller your capital, the more this matters. A self running loop is the only way a solo builder ever closes the gap with a fund running 100 PhDs.
Roan
@RohOnChain
Because quant trading is already a loop. Pull data. Generate signals. Backtest. Execute. Monitor risk. Repeat.
Roan
@RohOnChain
Every fund on Wall Street runs that exact cycle. Renaissance has been running it since 1988. Citadel runs it with teams of engineers monitoring every stage. Two Sigma, Jane Street, all of them.
Roan
@RohOnChain
The only difference is they need hundreds of humans sitting inside the loop. You do not.
Roan
@RohOnChain
I have already built this loop for myself. It pulls market data on schedule. It runs alpha research. It verifies every signal through a separate agent. It executes only what passes verification. It writes every lesson back to memory.
Roan
@RohOnChain
This article is everything I have learned about loop engineering and how to wire it into a complete autonomous trading system.
Roan
@RohOnChain
By the end of this you will know:
Roan
@RohOnChain
The exact difference between prompting an agent and engineering a loop.
Roan
@RohOnChain
The six pieces that run every working loop in production.
Roan
@RohOnChain
How to wire those six pieces into a self improving quant trading system from scratch.
Roan
@RohOnChain
Let's get into it.
Roan
@RohOnChain
---
Roan
@RohOnChain
## Part 1: The Difference Between Prompting And Loop Engineering
Roan
@RohOnChain
For the last two years, working with AI looked like this.
Roan
@RohOnChain
You typed a prompt. You read what came back. You typed the next prompt based on what you saw.
Generated by Thread Navigator
100%
view_carousel Carousel Studio NEW
Press + S to quick-export