TacticalBoulder
15 posts

TacticalBoulder
@TacticalBoulder
outmaneuvering the absurdity
Katılım Kasım 2022
223 Takip Edilen340 Takipçiler

@StepOneAi 谢谢!我们现货这边用的是 ws,p50 和永续的一样,差异可能是 FIX 带来的,我们会试一下。
请问有没有哪个中文社交平台上有比较有意思的做市相关的内容?
中文

@TacticalBoulder 是按 local ts - T 算的。(在我一篇的数据里其实也标明了这一点:Futures p50 local ts-T:1.3-1.8ms)。
中文

高频基建一 服务器层面。
做加密高频做市,一切从行情延迟开始。很多人以为策略是核心,其实不是,基建才是。你的策略再强,行情比别人慢一拍,单子挂进去就是被吃的那个。跟Cto聊完,直接放几个硬指标。
服务器:AWS东京 ap1a-az4,EC2 c7i/c8i xlarge起步。别省钱用小土豆,做市不是跑网站,CPU缓存和内存带宽直接决定你的解析速度。我们20个instance一组,秒来秒关做ec2 hunting。
行情延迟 benchmark:
Futures p50 local ts-T:1.3-1.8ms
Spot SBE+Fix:400us-900us
怎么压下来的?
第一,把行情模块打包成蒸馏好的低延迟探针,直接上传到服务器,辅助 EC2 搞延迟 hunting。
第二,Codec 零拷贝解析 JSON,别让数据在内存里搬来搬去。
第三,双轨订阅。同一个交易所的行情,两条线同时拉。为的是万一其中一条出现丢包,另一条能瞬间补上。
解析完的行情通过 IPC 回传给策略进程,本地维护订单簿深度,用 ringbuffer 管理。为什么选 ringbuffer?因为它不需要锁,写和读可以同时进行。
还有个细节:depth@0ms。
这东西不在交易所的 API 文档里,熟悉底层的人知道有这一档位。我们要维护的是绝对“当下”的快照,策略看的是此刻的盘口,给它50毫秒前的,决策就是错的。
行情快只是一半,另一半瓶颈在发单执行。
连接池必须预热保活,指令出来直接裸写。更关键的是网络分离:策略的发单绑定 EIP(弹性公网IP)发送订单组,这跟接收行情的 ENI(弹性网卡)必须彻底分开。只有这样,遇到极端大行情爆发时,才能保证整个服务器上所有instance 的定价依然准确,不会因为网络拥堵互相踩踏。
另外就是订单状态维护。
高频里的订单状态转换必须依靠极其严苛的状态机流转。Pending、New、Partial、Canceled,每一步都不能有模棱两可的灰色地带。遇到极端行情拔网线或者接口抽风,单子卡在未知状态,你的状态机怎么兜底处理,直接决定了下一秒是继续做市还是单边止损。
最后,为什么实盘核心代码的尽头依然是Rust?
很多语言的 GC在极端插针行情里只要卡你两三毫秒,单子就被吃得骨头都不剩。Rust 虽然没有 GC 的烦恼,但底层原则是一致的:实盘盘中绝不临时 new 或者 malloc。所有内存必须在系统启动时一次性分配好,对象用完放回内存池,坚决不让操作系统在盘中去给你找内存碎片。
在微秒级的世界里,做市这件事,慢一点就是钱。不是少赚,是亏。
中文

@HangukQuant how do you know if your instance is in the right dc or as close as possible?
English

@tolstoybb I think the French should elect a guy called Pierre Français as their next president
English

He's a very good politician.
Disclose.tv@disclosetv
NOW - Péter Magyar says he wants to bring back EU funding to improve Hungary's economy but doesn't support Ukraine's "fast-track accession to the EU" and that "Hungary should opt out" of the 90B loan to Ukraine as "Hungary is in a very difficult financial situation."
English

@annanay @ethanrkho The podcast farming is probably one of the best way to start a career, if you're good like he is, you can build a great network pretty fast
English

@annanay btw i discovered you on Odds on Open Podcast, completely resonated with your vision
English

@sisyphus_1e0 I more meant a firm making its money from random dumps did not have sustainable edge, turns out I was wrong
English

@annanay But it's actually probably true, wintermute were one of the MM of ICP at launch, I heard Gaevoy say on some podcast "charismatic founder with valuation that makes no sense, you just sell everything" i knew he was referring to ICP haha
English

@sisyphus_1e0 Nah, but the reason I picked Tower over Wintermute was that I heard 25% of their pnl the year before was made on ICP launch which I thought was a bit silly
English

@Cbb0fe @SheepOfBitmex Do you do cross chains/exchange arb or just arb on hyperevm?
English

My brother @SheepOfBitmex has built:
- One of the first arb bot on Binance in 2017
- One of the most performing sniping bot on Ethereum and BSC in 2020-2021
- The best bot on Blur in 2022-2023
- The best arb bot on HyperEVM in 2025
What would you like to learn from him?
English

@d3h3d_ @AOP_DeFi @bjoerntm @ikadotxyz This is completely fraudulent, if the network can sign a tx « in case of liquidation » it means the network can sign a tx in any case it see fits. ie your bitcoin are owned by the mpc like everywhere else. The 2pc part is just trying to trick user into thinking they keep custody.
English

with ika you can hold the btc in a dwallet where you hold the user share (nothing gets signed without you) and sign a future transaction directly to the lender, that way the ika network can only complete the signature in case of liquidation, but neither the protocol nor the mpc network have control of your assets.
English

We still have a lot of education to do.
Comparing a non-custodial wallet (IKA) with a cross-chain DEX (Thor) and a cross-chain base layer (ICP) does not make sense.
It’s like saying your credit card is superior to a stock exchange or a high-availability data center. Not the same.
d3h3d 「🦑」@d3h3d_
legacy mpc networks (near, icp, thorchain, stacks, threshold network etc.) commingle user funds and operate a ledger to attribute the funds to different users with @ikadotxyz every dwallet is an independent account - so users can have their funds segregated with no commingling
English





