The dev who wonders (@devwonder01) header
The dev who wonders (@devwonder01) profile picture

Physics, Math, Finance and MEV Researcher Megaphone @cometexchange HFT Market Maker @lighter_xyz

Joined May 2020
Photo by The dev who wonders (@devwonder01)Photo by The dev who wonders (@devwonder01)Photo by The dev who wonders (@devwonder01)Photo by The dev who wonders (@devwonder01)Photo by The dev who wonders (@devwonder01)Photo by The dev who wonders (@devwonder01)Photo by The dev who wonders (@devwonder01)Photo by The dev who wonders (@devwonder01)Photo by The dev who wonders (@devwonder01)Photo by The dev who wonders (@devwonder01)
The dev who wonders retweeted
the Aggregator Ranking is out! everyone naturally focus on best price - but there's so much more let's look at PRICE, SPEED, and CONSISTENCY 1/2
Introducing Aggregator Ranking on @solana. Every aggregator promises the best route. Now you can check. Real swaps. Replayed at their exact place in the block. Scored against every route possible at that moment. The gap is the score. For Internet Capital Markets.
4
6
3
33
8,719
The dev who wonders retweeted
做HFT就像是在用解析几何的硬解定理。 这就是我初识HFT的感觉。那时候刚好高二,开始系统做椭圆双曲线的题,平面几何关系、焦点三角形性质、极点极线的东西想的少,几何性质也记得少,就是干,就是计算。直接设直线方程联立椭圆,暴力算Delta然后韦达,硬生生把弦长或面积公式代进去算出来。
这过程没有任何思考上的逾越,就是暴力搜索。 18岁的我认识的HFT,就是直接把Order Book数据拉过来,通过暴力统计套利,微秒级信号捕捉,硬生生从海量的噪声中把那几微分的Alpha给算出来。
 高中三年,我基本会把数学考试的25min就给导数。因为导数是有一些思维层面的东西,想不到就是想不到。但椭圆不是。我要花时间暴力计算就是一切(虽然现在觉得那些计算就是纯蜡丸),保证准确,只要考试时层层往里套数字,最后基本都是拼计算熟练度和不出错而已。 而HFT呢,那时我想,许多战斗早在开盘前就结束了。 提前写好的底层C++代码,FPGA硬件加速,甚至铺设微波通信塔。交易发生的几纳秒,系统很多时候只是在机械地往提前编好的硬解模板里填数据罢了。 当时我认为,椭圆的题和高频量化一样,容错率为零,一点误差全盘皆输。 联立方程时只要错了一个正负号,后面算得再快也是零分,虽然一般做一半能发掘出来。高频量化的话,网络延迟多抖动了几微秒,赚不到钱不说,还可能瞬间在市场上触发连锁反应。比如骑士资本,45分钟亏掉4.4亿美元,乐。 当然HFT有个额外情况,就是对手故意Spoofing给你下套,你算出来的,自我感觉再好,那基本都是别人的陷阱。 此上是2023年前高中时期的理解。 后来,上了大学之后。尤其是在浙大的长三角智慧绿洲创新中心那段时间,弄了一些FPGA底层硬件实现,觉得HFT巨像查表法与预计算,外加一丝丝的牛顿迭代法。 只要在高频,我们就要用量的空间与前期准备换取运行时的零延迟,就像我们在做题或写程序时,提前把所有可能遇到的三角函数值、积分表算好存进内存,遇到输入直接查表输出。观测到很多团队,花几个月用机器学习在历史数据里跑出海量特征,然后把复杂的决策树或神经网络压缩、固化进FPGA芯片的逻辑门里。行情一到,信号就像电流一样直接穿过电路触发下单,没有任何的思考过程。 那么为啥我会想到牛顿迭代法呢? 就一句话,速度碾压一切,但极度依赖初值。 其实传统基本面投资就纯纯的二分法,虽然慢,但只要区间选对了,一定能稳稳逼近价值中枢。HFT呢? 它是沿着切线方向以最快的速度冲向套利空间。但市场一旦出现初始值跳出收敛域,它的切线就会直接飞向无穷远,瞬间造成巨额亏损,那就直接玩完。 当然了,频域也是很重要的。我觉得会更像拉普拉斯变换和傅里叶变换的视角。分析的是订单流的频率,周期共振和相位差这些,市场是一堆等待滤波和解调的电磁波。 这就是现在的视角。 写到这里,感觉现代高频很像控制论与博弈论的结合,我们向市场发出订单的那一刻,订单本身就变成了一个新的脉冲信号,瞬间改变了整个系统的冲激响应,引发连锁反应,牵一发而动全身。 对事物的认识还是会变的,随着工具迭代。
谈谈量化,我最真实的想法。 我认为,传统量化被AI彻底重塑只需要2年。而超级智能彻底接管金融市场、引发一次难以想象的金融热寂,还要5-7年。 注意,我说的是彻底,彻彻底底。 金融市场有全世界最直接的反馈和最完备的数字化基础设施,历来是新技术落地最快、淘汰最凶狠的地方。 明年到后年,我们会见证大量的初级研究员出局,大量的智能体接管策略研发,量化的人力密集模式会最先垮掉。 因子挖掘全自动化将是一个鲜明的标志。多模态普及之后,突发新闻、财报电话会里的变化,都会在毫秒内被所有主流机构同时消化。大量主观交易员和靠简单规则的伪量化,会失去生存空间。 2028年,一线机构全部AI化之后。算力寡头垄断之势雄起,对抗性金融战会爆发。 中小私募会批量清盘。因为它们买不起顶级算力、拿不到独家数据的基金,策略上线几小时就被巨头的模型逆向破解、反向收割。 到那时,市场频繁出现没有基本面的闪崩和极端逼空,实质其实是几家顶级AI系统在订单簿和舆论场上互相投喂假信号,诱导对手的算法爆仓。 一旦具备跨领域自主规划和物理世界干预能力的完全体超级智能出现,人类量化将会彻底走到终局。到那时,华尔街的基金不会是顶级玩家,主角会是直接掌握算力和能源的AI巨头,甚至超级智能完全体本身。 在终极超级智能尚未形成之时,几个AGI会大概率形成算力均势,波动率被抹平,散户和传统机构大超大占比推出,股票和期货市场会退化为由算法维护的资源清算后台。 总之,量化是最容易被AI吃掉的认知工作之一。它纯数字化,反馈信号明确(,而且雇主最有钱、最有动力去自动化。挖因子、写策略、做回测这类工作,价值甚至会比有些白领工作更早归零。 AGI时代量化的终局,一定是AGI对AGI。
16
30
1
349
27,087
The dev who wonders retweeted
HFT market making is one type of systematic trading, or most people now just call it quant trading. But it's not the only way. There's arbitrage, funding and basis trades, stat arb, trend following, prediction markets, and more. Each works at a different speed and needs different tools. What they have in common is they all look for some inefficiency in the market. It can be a price for a moment, liquidity that's missing, or risk nobody wants to hold. If you can fix one of those, you're actually adding value. -> Market makers make it cheaper for people to trade. -> Arbitrage keeps prices in line across exchanges. You get paid because you're doing something the market needs. For what i learn so far -> if we can find an inefficiency and can solve it all the time -> that's an edge. Something useful you can do better or cheaper than others. Two things i've noticed so far. -> You have to prove the edge with data, again and again, all the time, or it's probably just luck. -> And it won't last forever, because once others see the same gap they'll compete it away (just an example crypto market on Hyperliquid, there is Wintermute. so do you want to compete with them?). But, i'm still learning at this stage, I'm enjoying it a lot (eg you can see the chart from my previous post i quote below, actually still there are many things wrong, and still learning to improve it). If you have another opinion, im really open to discuss about it so i can learn more about it and other people perspective.
Learning High-frequency trading (HFT) is very fun. Btw, at first time I only read a few articles and use Claude. Did it work? Not really. I kept going in circles and producing a lot of AI slop. Then I found someone I now call my mentor. He's incredibly smart and has been teaching me everything from the ground up. Biggest lesson so far: it's not about how good your AI model is, it's about the logic behind it. AI can tell you which fills were good and which were bad. But if you only rely on AI, the results stay bad. You have to understand why. Take this chart. It's about 3 minutes of my market making bot running live, but from this chart, I can get a lot of information. So lately I just watch it live, session by session, like my mentor told me to. Watching the game teaches you more than reading the stats. And once you actually watch, the problems start showing up. I can see few problems, jsut called it "A, B, C, and so on:. Still far from perfect. But I'm pretty sure my learning progress is one step closer to the right direction. HFT has honestly become an obsession for me. If you love exploring new things, you should try it.
9
10
2
132
15,498
The dev who wonders retweeted
I've built the best open source order flow screener for analysing L2 data of crypto perp, spot and forex. Website : order-flow.zadescoxp.com Github : github.com/zadescoxp/order-f… MCP : mcp.order-flow.zadescoxp.com The most challenging part right now is to get data for backfills, this issue might be resolved in the latest update I'm working on.
22
52
1
388
28,293
The dev who wonders retweeted
突然想到支持空间音频的 AirPods 里本来就藏着运动传感器,能实时感应耳机怎么转动、哪一面朝上。于是干脆给红木筊杯做了个 AirPods 姿态数字孪生。 TestFlight 公开测试:testflight.apple.com/join/f7…
256
202
94
2,794
468,940
The dev who wonders retweeted
Got tired of watching Astra and Opus control Franka arms. Can they handle much weirder bodies? Like A soft robotic snake, a table with 256 fingers, and a little WALL-E. No manuals. No predefined skills. Here's what happened. 🧵 0/3
6
18
11
247
22,114
The dev who wonders retweeted
I just lost about $12,400 swapping Phantom's own CASH stablecoin to SOL in the Phantom app. Same wallet, same size, two days earlier: 30,081 CASH bought 423 SOL, right at market. Today: 30,128 CASH bought 242 SOL. Phantom's router sent $22,442 into a CASH/SOL pool that only had $57 of CASH in it, and filled that leg at about $149 per SOL. SOL was about $73. Today: httpx://solscan.io/tx/qiJibTZrP7RMcYN3ps4ba4ArZ252H1ENnr92ou9MseKZtciobrPJNsgaPf3UFNjGDmWuCFznZzymmxeDfoEjMeo Nov 29: httpx://solscan.io/tx/4r3NC5pzhfvcBjeuFvdFw8suyfBDFo73p6j2Bz1kRBUTwSDU5SUXHFLT6BFEiSP9jxC9mT1DVzRkgPhF7dPyVfqo @phantom I want an explanation of the quote versus this fill, and I want the shortfall made whole.
162
60
21
958
135,178
The dev who wonders retweeted
The gamma function, the integral of t^(z−1)e^(−t) from 0 to infinity, extends the factorial to complex numbers: Γ(n + 1) = n! for every whole number n. The height is |Γ(z)| and the colour its argument. Integrating by parts gives Γ(z + 1) = zΓ(z), so the values climb through 1, 1, 2, 6 with Γ(1/2) = √π between them. Run backwards, the rule divides by 0, −1, −2 and so on, raising a pole at every non-positive integer, yet the surface never touches zero. Euler found the integral in letters to Goldbach in 1729 and 1730, seeking a smooth curve through the factorials. Legendre named it Γ, and the Bohr-Mollerup theorem of 1922 proves it is the only log-convex function on x > 0 with Γ(1) = 1 and Γ(x + 1) = xΓ(x).
3
19
1
98
3,053
The dev who wonders retweeted
a bunch of things went wrong here. the user actually received more than they were quoted (244.39 vs 242.31). which means: - route was bad from the start (looks like the main CASH pool wasn't used) - app didn't show price impact warning but the underlying issue is that CASH has almost no liquidity: - not a single prop amm quotes CASH. - majority of liquidity ($2m) is a single CASH/USDC Orca pool. - almost non-existent CASH/SOL liquidity due to the extra hop, everytime you trade from CASH you lose money: - extra pool fee -> worse price - more accounts -> no JIT routing -> worse price - no prop amm liquidity -> worse price custom stablecoins are great for apps, terrible for users.
I just lost about $12,400 swapping Phantom's own CASH stablecoin to SOL in the Phantom app. Same wallet, same size, two days earlier: 30,081 CASH bought 423 SOL, right at market. Today: 30,128 CASH bought 242 SOL. Phantom's router sent $22,442 into a CASH/SOL pool that only had $57 of CASH in it, and filled that leg at about $149 per SOL. SOL was about $73. Today: httpx://solscan.io/tx/qiJibTZrP7RMcYN3ps4ba4ArZ252H1ENnr92ou9MseKZtciobrPJNsgaPf3UFNjGDmWuCFznZzymmxeDfoEjMeo Nov 29: httpx://solscan.io/tx/4r3NC5pzhfvcBjeuFvdFw8suyfBDFo73p6j2Bz1kRBUTwSDU5SUXHFLT6BFEiSP9jxC9mT1DVzRkgPhF7dPyVfqo @phantom I want an explanation of the quote versus this fill, and I want the shortfall made whole.
7
2
2
77
9,075
The dev who wonders retweeted
Glisse 1.0 is out. 🫧 Apple’s Liquid Glass, now in React. - 23 components - 4 different Glass styles - 120fps on Chrome and Safari - One skill to convert your app to Liquid Glass glisse.kelvinzhang.com Free and open source. Made possible with Devin's macOS VMs.
102
266
36
4,089
358,854
The dev who wonders retweeted
Could a major deal be on the horizon? $TSLA markets on Archer are open 24/7 with some of the lowest fees. Don't wait for the opening bell to catch the action.
BREAKING: Tesla stock, $TSLA, surges over +6% on reports that the company is moving toward an all-stock merger with SpaceX, $SPCX, by as soon as year-end.
1
2
7
514
The dev who wonders retweeted
5 Solana builder deadlines still open, sorted by date. ▪️ Dec 3: Apply to The Bridge Accelerator (@dev3pack). 8 weeks, free, 0% equity, for underrepresented founders. Dev3pack hackathon winners are fast-tracked. ▪️ Dec 4: Apply to Solana Incubator Cohort 6 (@incubator). 3 months in NYC from March 2027, 4–6 teams. Early applicants prioritized. ▪️ Dec 9, 04:00 ICT (21:00 UTC Dec 8): Submit to the Perps and Prediction Markets hackathon (@SolanaFndn). Opens tomorrow, Dec 1 at 20:30 ICT (13:30 UTC). The deadline moved from the earlier Dec 5 listing. $100K main track. ▪️ Dec 9: Submit to the Busan Blockchain Hackathon (@SuperteamKorea). KRW 20M pool. Online qualifier, open to anyone. Demo day Dec 15 in Busan. ▪️ Rolling: Apply to IslandDAO Tokyo V6 (@islanddao). 1–19 March 2027, free to attend. You cover flights, stay and food. No close date yet. Bookmark this.
3
5
73
4,075
The dev who wonders retweeted
A torus is every point at distance r from a circle of radius R: (√(x²+y²) − R)² + z² = r² Cut it with a plane through its centre that touches it twice, and the slice is two circles of radius R, the Villarceau circles. Spin the plane about the axis for one family; its mirror gives the other. Every point lies on one circle of each. The wall shadows are straight-on views: a ring on the floor, a rounded slot on each side. A torus can be woven entirely from tilted circles.
11
129
11
679
25,943
The dev who wonders retweeted
If you are a small boutique HFT or market maker you need to lock in right now. This is your shot. There is a huge amount of space opening up; and the tools now make it a fair playing ground: - you can now purchase lower Hyperliquid Fee Tiers for a fraction of the capital permissionlessly via @stakedhype x @pendle_fi - you can now access data feeds for a fraction of the capital using @stakedhype x @EnigmaValidator The market structure is changing. We came to Hyperliquid to power the rise of the small MM. If you are looking to scale reach out, DMs open.
Read this if you’re in HFT or market making Margins are getting crushed and crypto volumes are drying up. Mid-sized shops are the ones getting squeezed hardest right now. Many names are stepping back including well-known as Auros (Hong Kong) and Amber Group, both were contributing at the trillion-dollar scale. Now this volume is gone. The interesting take comes from Andrei Grachev (co-founder of DWF Labs): the mid-tier is the most vulnerable. The very large shops can still compete on scale and infrastructure, while the small ones can stay nimble and pick their spots. If you’re small, this might actually be your window - but only if you adapt. Where the opportunities are opening up: >>>Prediction markets >>>Growing options market >>>Perps Right now there are hundreds of small shops and traders who are quietly winning. Watch where the liquidity actually is. And it’s working.
15
17
3
346
25,343
The dev who wonders retweeted
In Q3 Jupiter trading volume fell by nearly a third, while gross fees went up by a factor of 2.5. Meanwhile, the protocol’s own revenue fell to $6.6M Protocol revenue has been declining for four quarters in a row (all the data is in the screenshot.). It has totaled $5.7M since the start of Q4 and the overall trend will be clear once the quarter ends
1
1
1
7
3,523
The dev who wonders retweeted
Running my validator is now less than $500 a month all-in!
19
21
8
219
26,518
The dev who wonders retweeted
A row of tangent circles with sizes 108, 36, 27, 9, 3 and 1 measures 256 units. Nine circles of 27 make 243 = 3⁵ and the small chain on the left adds the last 13 to reach 2⁸. Read the sizes as string lengths and the circles play a chain of pythagorean fifths. At the end 243 and 256 sound together and that gap is the limma, the small semitone of pythagorean tuning.
18
75
6
442
21,318
The dev who wonders retweeted
A pipe narrows to a quarter of its area and the water leaves exactly four times faster Water cannot pile up inside, so the same volume passes every cross section each second, A₁v₁ = A₂v₂. Both gates flash on the very same frames
11
104
7
896
28,348