Polymarket Bot Tutorial · Chapter 26 of 32
Polymarket पर election और politics market bots: US 2024 lessons, 2028 setup, EU और UK markets, Trump-related markets, polling-vs-market spread, long-hold sizing, और multiple election markets को monitor करने के लिए code.
यह chapter क्या कवर करता है
Politics Polymarket की सबसे high-volume category है। Strategies national elections पर multi-month hold positions से लेकर individual political news पर headline-arb तक जाती हैं। यह chapter उन approaches की honest separation है जो survive करती हैं और जो हार जाती हैं।
- Politics Polymarket की सबसे high-volume category क्यों है
- Long-hold vs short-hold political bots
- Polling-vs-market spread
- News flow और headline arb
- International elections (EU, UK, India)
- Risk: black-swan polls
- Code: politics markets को daily scan करें
Politics Polymarket की सबसे high-volume category क्यों है
Politics Polymarket की flagship category है। 2024 US presidential cycle ने 2024 की शुरुआत में lifetime Polymarket volume को $200M से नवंबर तक $9B+ पर पहुंचा दिया। 2026 तक lifetime $63B+ है।
क्यों: audience crypto traders से overlap करती है, event horizons इतने लंबे होते हैं कि price discovery के कई cycles होते हैं, और media coverage लगातार order flow चलाती है। दूसरे markets attention के लिए compete करते हैं; politics platform को define करता है।
Bot economics: high competition के बावजूद political markets इतने deep होते हैं कि $1k position price को significant रूप से move नहीं करती। अगर edge real है तो retail bots के लिए plenty of room है।
Long-hold vs short-hold political bots
Politics के लिए दो strategy axes हैं।
- Long-hold (weeks to months): fundamental view के आधार पर position लें, news cycles से गुजरते हुए hold करें, resolution के करीब exit करें। Edge: model accuracy + risk tolerance.
- Short-hold (minutes to hours): specific news events पर react करें (debate moments, court rulings, polling drops)। Edge: latency + interpretation speed.
ज़्यादातर retail bots पहले short-hold try करते हैं और fail हो जाते हैं क्योंकि competition बहुत fierce होती है। Long-hold कम crowded है लेकिन daily noise को ignore करने की operational discipline चाहिए। Honest assessment: long-hold psychologically harder है लेकिन mechanically easier है। अपनी behavior के हिसाब से चुनें।
Polling-vs-market spread
एक common trade उस candidate को short करना है जिसका poll average market price implied probability से ऊपर हो - या vice versa.
उदाहरण: 15 Oct पर 538 का election forecast Candidate A के लिए 65% कहता है; Polymarket A को 55% पर trade कर रहा है। 10c spread का मतलब है कि market को लगता है 538 गलत है, या market के पास ऐसी information है जिसे 538 ने अभी absorb नहीं किया।
Trade rule: अगर spread 7+ days तक persist करे और कोई ऐसा news न हो जो इसे explain कर सके, तो market गलत है; market price पर long side लें। नए gap पर action लेने से पहले कम से कम एक week wait करें; gap को बंद करने वाली news daily आती रहती है।
News flow और headline arb
Specific news types जो consistently political markets को इतना move करती हैं कि bot-worthy हों।
- Polling drops by NYT, Reuters, Bloomberg - major sources release पर market को 1-3c move करती हैं।
- Court rulings on candidate eligibility, ballot access, indictments. तुरंत 3-8c move करती हैं।
- Debate moments - gaffes, strong performances. Debate के दौरान 2-5c move करती हैं।
- Health events - कुछ भी जो real candidate-replacement risk create करे। Confirmation पर 10-20c move करती हैं।
Bot pattern: curated news sources की list subscribe करें, keyword के जरिए event type classify करें, predicted direction में sized FOK place करें। Chapter 14 general pattern cover करता है; political markets इसका सबसे rewarding application हैं।
International elections (EU, UK, India)
Polymarket international elections को varying volume के साथ list करता है। UK और EU elections आम तौर पर $1-10M each attract करती हैं; Indian elections (जो बहुत बड़े user base को interest करती हैं) $50M+ attract कर सकती हैं। Latin American elections आम तौर पर thinner होती हैं।
Edge profile: international markets US markets की तुलना में कम efficient होती हैं क्योंकि trader population ज़्यादा US-centric है। किसी specific country expertise वाला bot (जैसे German political analyst, Indian local) उन markets में real edge रखता है, जो उन्हें US politics में नहीं मिलता।
अगर आप उस country से नहीं हैं या specific expertise नहीं रखते, तो international markets bot territory नहीं हैं - US के मुकाबले inefficiency की कमी का मतलब ज़्यादा inefficiency नहीं होता। Domain knowledge dominate करती है।
Risk: black-swan polls
Catastrophic political-bot failure mode एक black swan poll या event है जो market को 24 hours में 15-25c move कर देता है। एक bot जो एक side पर heavily positioned है, crushed हो जाता है।
Examples:
- 2024 Biden debate performance → Biden replacement implied probability दो weeks के अंदर 8% से 65% तक चली गई।
- Major candidate health events historically hours के भीतर markets को 15-30c move करते हैं।
- Indictment या major scandal एक day के भीतर 10-20c move कर सकता है।
Defenses: एक single political position पर capital का 20% से ज़्यादा कभी न लगाएं; stop-loss orders use करें, भले ही prediction markets पर वे imperfect हों; जब implied volatility baseline से 2x हो जाए, तो new entries रोक दें।
Code: politics markets को daily scan करें
Reference: high-volume politics markets का daily scan, significant moves पर alert करें।
def daily_politics_scan():
events = gamma_events(tag_id=2, limit=100, order="volume24hr")
for ev in events:
for m in ev["markets"]:
prev = load_last_snapshot(m["slug"])
curr = float(json.loads(m["outcomePrices"])[0])
if abs(curr - prev) > 0.05:
alert(f"big move on {m['slug']}: {prev:.2f} → {curr:.2f}")
save_snapshot(m["slug"], curr)
Alert human review का trigger है (या downstream bots के लिए जो आपकी alert feed subscribe करते हैं)। बड़े moves पर auto-trade न करें - political moves usually news-driven होते हैं और bot को context चाहिए, जो alert नहीं देता।





