Thanks all for following. We are cooking the best tool for the trading strategy of prediction markets.
If you are looking for a easy tool to help you
- execute MM strategy
- kill all 15 mins markets
- trade and get airdrops
Stay tuned. Our product is on the way.
Leave a comment let us know what you need.
Polymarket SDK v0.4.0 is officially released 🎉
Thanks for all the support — we’ve reached 580 stars already!
github.com/cyl19970726/poly-…
In this release, we also implemented a 15-minute market strategy. Feel free to use it if you’re interested.
Strategy Overview (15-Minute Markets)
The core idea is simple:
Leg 1 (Entry):
Detect a sharp crash (e.g. 30% drop within 3 seconds) and buy immediately.
Leg 2 (Exit):
When the price reverts to a more rational level, sell to lock in profit.
Leg 1 Parameters
slidingWindowMs: 3000, // 3 seconds
dipThreshold: 0.3 // 30% dip
With these settings, if the market drops 30% within 3 seconds, the bot will buy automatically — regardless of YES or NO.
Leg 2 Parameter
sumTarget: 0.95
This means you can spend 0.95 USDC to obtain both UP and DOWN shares (worth 1 USDC).
Risk Control
We also added a stop-loss mechanism:
leg2TimeoutSeconds
For example, if set to 100, and Leg 2 hasn’t executed after 100 seconds, the bot will automatically sell the Leg 1 position to prevent it from going to zero.
Capital Efficiency Improvements
Auto-merge support:
After completing Leg 2, positions are automatically merged back into USDC.e, significantly improving capital efficiency.
Auto-rollover:
After each 15-minute market ends, the bot automatically enters the next market.
Any remaining positions will be redeemed once the market allows redemption.
So in practice, you can just let it run — though parameter tuning matters a lot.
Different parameters produce very different results. We strongly recommend avoiding overly aggressive settings. With fees now applied to 15-minute markets, high-frequency strategies are even less suitable.
Large Orders
If you’re trading large sizes, you can use splitOrders, which automatically splits a large order into multiple smaller ones.
Architecture Updates
Added a Binance service
Fixed the issue where only YES/NO was returned in previous versions
More details are available in the codebase.
We also welcome everyone to follow our project @catalystdotfun — our product will be released step by step very soon 🚀
Catalyst AI retweeted
🚀 Polymarket SDK v0.3.0 is out!
Thanks for all the support — the repo has reached 352 stars ⭐️
github.com/cyl19970726/poly-…
@Polymarket
You can now implement copy trading in just 10 lines of code.
Our new architecture:
Tomorrow I’ll go deeper into what’s new in v0.3.0 — beyond the new Smart Money Service, there are several other important updates.
That’s all for today — getting some rest now. Good night 😴
If you’re also interested in arbitrage, check my previous tweet — it includes a complete implementation you can directly reuse.
Yesterday I open-sourced polymarket-sdk for @Polymarket
github.com/cyl19970726/poly-…
Thanks for the support — the repo already has 223 stars and 63 forks ❤️
Today, we shipped a major update.
The SDK now covers almost everything you need to build on Polymarket:
🔄 Real-time arbitrage detection (WebSocket-based)
📊 Smart money analysis — track top traders and strategies
💱 Trading integration (GTC / GTD / FOK / FAK)
🔐 On-chain ops: split, merge, redeem CTF tokens
🌉 Cross-chain deposits from Ethereum, Solana, Bitcoin
💰 DEX swaps on Polygon (QuickSwap V3)
📈 Market analytics: K-lines, signals, volume
Today’s highlight: ArbitrageService 👀
We now officially support Polymarket arbitrage.
The idea is simple:
- If buying a YES+NO pair costs < 1 USDC, buy both and redeem on-chain
- If selling a YES+NO pair yields > 1 USDC, mint a pair for 1 USDC and sell
The hard part is execution.
In real markets, arbitrage windows are short —
there’s often no time to do on-chain actions when profit appears.
So the ArbitrageService uses dynamic position management:
- Maintain USDC ↔ YES/NO positions
- Keep USDC ratio between 20%–80%
- Always ready to buy or sell immediately when opportunities show up
Handling partial fills
Partial fills are inevitable and can leave you with unbalanced YES/NO positions.
The service automatically:
- Sells the excess side
- Keeps YES and NO close to 1:1
- Exposes a settlePosition helper to clean up exposure anytime
Full arbitrage theory + implementation details are documented in the repo.
GitHub: github.com/cyl19970726/poly-…
Arbitrage docs: github.com/cyl19970726/poly-…
Our Project: @catalystdotfun
Open-source, and happy hacking
Catalyst AI retweeted
Polymarket SDK 0.3.0 发布了,感谢大家支持现在已经有 352个star了
github.com/cyl19970726/poly-…
@Polymarket
现在你可以用 10 行代码做跟单了
原理如下:
我们的新架构:
明天我在来说下v0.3.0 除了增加了 smart money service 还做了哪些更新,今天困了先睡了晚安。
以及如果你还需要做套利可以参考上条推特,都有完整的实现,需要自取吧。
承蒙大家厚爱,polymarket-sdk 仓库现在已经有 129 个 star 和 37个fork.
开源YYDS!
github.com/cyl19970726/poly-…
@Polymarket
今天更新了下架构,基本上你在polymarket上需要的所有操作这里都提供了对应的方法,比如存钱,Swap,Search Market,以及给大家提供一个ArbitrageService,大家如果想做套利可以用这个进行套利尝试。
ArbitrageService:
Polymarket Arbitrage简单来说:
就是如果 Buy Pair(yes,no) 的成本小于 1USDC,那么你可以同时买1yes和1no,然后去合约里换回1USDC, 这样就可以赚一个价差。
相反如果 Sell Pair(yes,no) 大于 1USDC, 那么也可以去合约里花1USDC mint 1 Pair(yes,no) 然后卖出同样也可以赚取价差。
但是在实际的套利过程中,利润产生的那个时刻,其实是没有时间给你去链上操作合约的,所以我们在实现套利服务的时候采用的是动态仓位,就是USDC : Pair(yes,no) 的比在20%~80% 之间从而保证我们出现 Sell的机会有Pair(yes,no)可以Sell,出现Buy的机会有USDC可以买入.
以及因为套利很多时候会有一个严重的问题,就是往往你只能部分成交,所以可能出现 (YES,NO) 数量不是1:1 的情况,这里我在套利服务里使用了比较简单的办法处理,看就是卖掉多的那一个token,保证YES跟NO 1:1
以及也实现了帮你随时情况仓位的 settlePosition 功能等等
关于Polymarket完整套利原理,我在仓库的文档里也写了完整文档,需要的朋友可以自取github.com/cyl19970726/poly-…
Catalyst AI retweeted
Yesterday I open-sourced polymarket-sdk for @Polymarket
github.com/cyl19970726/poly-…
Thanks for the support — the repo already has 223 stars and 63 forks ❤️
Today, we shipped a major update.
The SDK now covers almost everything you need to build on Polymarket:
🔄 Real-time arbitrage detection (WebSocket-based)
📊 Smart money analysis — track top traders and strategies
💱 Trading integration (GTC / GTD / FOK / FAK)
🔐 On-chain ops: split, merge, redeem CTF tokens
🌉 Cross-chain deposits from Ethereum, Solana, Bitcoin
💰 DEX swaps on Polygon (QuickSwap V3)
📈 Market analytics: K-lines, signals, volume
Today’s highlight: ArbitrageService 👀
We now officially support Polymarket arbitrage.
The idea is simple:
- If buying a YES+NO pair costs < 1 USDC, buy both and redeem on-chain
- If selling a YES+NO pair yields > 1 USDC, mint a pair for 1 USDC and sell
The hard part is execution.
In real markets, arbitrage windows are short —
there’s often no time to do on-chain actions when profit appears.
So the ArbitrageService uses dynamic position management:
- Maintain USDC ↔ YES/NO positions
- Keep USDC ratio between 20%–80%
- Always ready to buy or sell immediately when opportunities show up
Handling partial fills
Partial fills are inevitable and can leave you with unbalanced YES/NO positions.
The service automatically:
- Sells the excess side
- Keeps YES and NO close to 1:1
- Exposes a settlePosition helper to clean up exposure anytime
Full arbitrage theory + implementation details are documented in the repo.
GitHub: github.com/cyl19970726/poly-…
Arbitrage docs: github.com/cyl19970726/poly-…
Our Project: @catalystdotfun
Open-source, and happy hacking
写了一个 polymarket-sdk 把 @Polymarket 的所有api 接口都封装了一下。
并且在API接口的基础上提供了,K线 接口,套利检测,缓存,orderbok 自动排序等等,需要的自取吧:
github.com/cyl19970726/poly-…
架构如下:
Catalyst AI retweeted
承蒙大家厚爱,polymarket-sdk 仓库现在已经有 129 个 star 和 37个fork.
开源YYDS!
github.com/cyl19970726/poly-…
@Polymarket
今天更新了下架构,基本上你在polymarket上需要的所有操作这里都提供了对应的方法,比如存钱,Swap,Search Market,以及给大家提供一个ArbitrageService,大家如果想做套利可以用这个进行套利尝试。
ArbitrageService:
Polymarket Arbitrage简单来说:
就是如果 Buy Pair(yes,no) 的成本小于 1USDC,那么你可以同时买1yes和1no,然后去合约里换回1USDC, 这样就可以赚一个价差。
相反如果 Sell Pair(yes,no) 大于 1USDC, 那么也可以去合约里花1USDC mint 1 Pair(yes,no) 然后卖出同样也可以赚取价差。
但是在实际的套利过程中,利润产生的那个时刻,其实是没有时间给你去链上操作合约的,所以我们在实现套利服务的时候采用的是动态仓位,就是USDC : Pair(yes,no) 的比在20%~80% 之间从而保证我们出现 Sell的机会有Pair(yes,no)可以Sell,出现Buy的机会有USDC可以买入.
以及因为套利很多时候会有一个严重的问题,就是往往你只能部分成交,所以可能出现 (YES,NO) 数量不是1:1 的情况,这里我在套利服务里使用了比较简单的办法处理,看就是卖掉多的那一个token,保证YES跟NO 1:1
以及也实现了帮你随时情况仓位的 settlePosition 功能等等
关于Polymarket完整套利原理,我在仓库的文档里也写了完整文档,需要的朋友可以自取github.com/cyl19970726/poly-…
写了一个 polymarket-sdk 把 @Polymarket 的所有api 接口都封装了一下。
并且在API接口的基础上提供了,K线 接口,套利检测,缓存,orderbok 自动排序等等,需要的自取吧:
github.com/cyl19970726/poly-…
架构如下:
Catalyst AI retweeted
写了一个 polymarket-sdk 把 @Polymarket 的所有api 接口都封装了一下。
并且在API接口的基础上提供了,K线 接口,套利检测,缓存,orderbok 自动排序等等,需要的自取吧:
github.com/cyl19970726/poly-…
架构如下:
















