The entire system for Arcus, Lighter, and Entropy has been rebuilt. The previous project was too complex and had too much going on, so here’s a brief record of what changed this time:

The previous project combined multiple DEXs, with all kinds of combinations of arbitrage, grid trading, hedging, fees, and so on.

🟢 The project was tightly coupled and wasn’t designed according to a proper framework.

🟢 Claude is still my main designer; I hand all the coding over to Codex. When Codex writes code, don’t let it over-engineer things (especially with 5.6-sol and 6-astra).

🟢 As a result, the code turned into a mess (most of it was over-engineered by Codex—you ask for one small feature, and it might build an entire system for you).

🟢 Backtesting had already shown that Rust is faster than Python, so the codebase uses a Rust framework.

🟢 The old framework still had a small amount of REST; it’s now been fully converted to an end-to-end WebSocket setup.

🟢 Backtesting and live trading must use the same decision-making code. Never write a separate pile of code just for backtesting.

🟢 Log more data. If something can’t be fixed, optimize toward specific targets based on actual results—for example, what the P50, P55, … P95 metrics look like, and which conditions work best for your current results.

And so on. I’ll keep writing as things come to mind. I haven’t inspected the code in detail, but after running it for two days, I’m very happy with the results. SPY market making has stabilized again.

After all, not everyone can spend big on hardware to solve these problems. Our focus is on delivering extremely good value for money, without spending a lot, for arbitrage, bottom-fishing, market making that accounts for wear and tear, volume farming, and more arbitrage.