Polymarket Bot Tutorial · অধ্যায় 32-এর মধ্যে 26

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।

এই অধ্যায়ে কী আছে

Politics হলো Polymarket-এর সবচেয়ে বেশি volume-এর category। Strategies-এ national elections-এর multi-month hold positions থেকে individual political news-এর headline-arb পর্যন্ত সবই আছে। এই অধ্যায়ে কোন approaches টিকে থাকে আর কোনগুলো ক্ষতি করে, তার সৎ বিশ্লেষণ আছে।

  • কেন politics হলো Polymarket-এর সবচেয়ে বেশি volume-এর category
  • Long-hold বনাম 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-এর সবচেয়ে বেশি volume-এর category

Politics হলো Polymarket-এর flagship category। 2024 US presidential cycle 2024-এর শুরুতে $200M lifetime থেকে November-এর মধ্যে total Polymarket volume $9B+-এ ঠেলে দেয়। 2026 পর্যন্ত lifetime দাঁড়ায় $63B+।

কেন: audience-এ crypto traders-এর overlap আছে, event horizons যথেষ্ট দীর্ঘ বলে price discovery-র অনেক cycle হয়, আর media coverage continuous order flow drive করে। অন্য markets attention-এর জন্য compete করে; politics platform-টাকে define করে।

Bot economics: competition বেশি হলেও political markets এতটাই deep যে $1k position price-কে উল্লেখযোগ্যভাবে move করে না। Edge যদি real হয়, retail bots-এর জন্য যথেষ্ট room আছে।

Long-hold বনাম short-hold political bots

Politics-এর জন্য দুইটি strategy axis।

  • Long-hold (weeks to months): fundamental view-এর ভিত্তিতে position নেওয়া, news cycle পেরিয়ে hold করা, resolution-এর কাছাকাছি exit করা। Edge: model accuracy + risk tolerance.
  • Short-hold (minutes to hours): নির্দিষ্ট news event-এর প্রতিক্রিয়া (debate moment, court ruling, polling drop)। Edge: latency + interpretation speed.

বেশিরভাগ retail bot short-hold দিয়ে শুরু করে এবং ব্যর্থ হয়, কারণ competition খুব fierce। Long-hold কম crowded, কিন্তু daily noise ignore করার operational discipline দরকার। সৎ মূল্যায়ন: long-hold মানসিকভাবে কঠিন, কিন্তু mechanically সহজ। নিজের আচরণ অনুযায়ী বেছে নিন।

Polling-vs-market spread

একটি সাধারণ trade হলো যে candidate-এর poll average market price implied probability-এর থেকে এগিয়ে থাকে, তাকে short করা - অথবা উল্টোটা।

উদাহরণ: 15 Oct-এ 538-এর election forecast Candidate A-এর জন্য 65% বলছে; Polymarket-এ A trade করছে 55%-এ। 10c spread বোঝায় market মনে করছে 538 ভুল, অথবা market-এর কাছে এমন তথ্য আছে যা 538 এখনও absorb করেনি।

Trade rule: যদি spread 7+ দিন থাকে এবং এমন কোনো news না আসে যা এটাকে ব্যাখ্যা করতে পারে, তাহলে market ভুল; market price-এ long side নিন। নতুন gap দেখলেই act করার আগে অন্তত এক সপ্তাহ অপেক্ষা করুন; gap বন্ধ করার news প্রতিদিনই আসে।

News flow এবং headline arb

নির্দিষ্ট কিছু news type political markets-কে bot করার মতো enough consistently move করে।

  • Polling drops by NYT, Reuters, Bloomberg - major source 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 - candidate-replacement risk বাস্তব তৈরি করে এমন কিছুই। Confirmation-এর পর 10-20c move করে।

Bot pattern: curated list of news sources 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 বিভিন্ন volume-সহ international elections list করে। UK এবং EU elections সাধারণত প্রতিটিতে $1-10M attract করে; Indian elections (যা অনেক বড় user base-এর interest জাগায়) $50M+ পর্যন্ত attract করতে পারে। Latin American elections সাধারণত আরও thin।

Edge profile: trader population US-centric হওয়ায় international markets, US markets-এর তুলনায় কম efficient। নির্দিষ্ট country expertise-সম্পন্ন bot (একজন German political analyst, একজন Indian local) সেই markets-এ real edge পায়, যা US politics-এ পায় না।

আপনি যদি সেই দেশের না হন বা specific expertise না থাকে, তাহলে international markets bot territory নয় - US-এর তুলনায় inefficiency কম হওয়া মানে বেশি inefficiency নয়। Domain knowledge এখানে dominate করে।

Risk: black-swan polls

Political-bot-এর catastrophic failure mode হলো black swan poll বা event, যা 24 ঘণ্টায় market 15-25c move করায়। একদিকে heavily positioned bot ভেঙে পড়ে।

উদাহরণ:

  • 2024 Biden debate performance → Biden replacement implied probability দুই সপ্তাহের মধ্যে 8% থেকে 65%-এ চলে যায়।
  • Major candidate health events historically hours-এর মধ্যে market 15-30c move করায়।
  • Indictment বা major scandal একদিনের মধ্যে 10-20c move করতে পারে।

Defenses: কোনো single political position-এ capital-এর 20%-এর বেশি রাখবেন না; stop-loss orders ব্যবহার করুন, যদিও prediction markets-এ সেগুলো imperfect; implied volatility baseline-এর 2x ছাড়ালে নতুন entry halt করুন।

Code: politics markets daily scan করুন

Reference: high-volume politics markets-এর daily scan, significant move হলে 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 করে)। বড় move-এ auto-trade করবেন না - political move সাধারণত news-driven, আর bot-এর দরকার context, যা alert দেয় না।

প্রায়শই জিজ্ঞাসিত প্রশ্ন

Polymarket-এ political markets এত liquid কেন?
দুটি কারণ: (1) Politics 24/7 news flow তৈরি করে, তাই 24/7 trading interest থাকে। (2) Polymarkets correct call on Trumps 2024 win media attention এবং নতুন traders-কে বিশেষ করে politics-এ নিয়ে আসে। Politics ধারাবাহিকভাবে Polymarkets-এর highest-volume category।
Political markets long-term bot করা উচিত, নাকি short-term?
দুটোই, ভিন্নভাবে। Long-hold: structural view-এর ভিত্তিতে resolution-এর কয়েক সপ্তাহ আগে position নিন (incumbent advantage, polling)। Short-hold: intraday headline move arb করুন। Long-hold-এ ধীর infrastructure tolerable; short-hold-এ real-time news feeds দরকার।
Polling-vs-market spread strategy কী?
Market-এর implied probability-কে professional poll aggregators-এর সঙ্গে তুলনা করুন (যেমন, Fivethirtyeight, RealClearPolitics)। 5-10% persistent gap দেখালে market mispricing করছে বলে ধরে নেওয়া যায়। বেশি reliable signal-এর দিকেই trade করুন। Caveat: polls-ও ভুল, আর market অনেক সময় polls-কে ছাড়িয়ে যায় (2024 ছিল canonical example)।
Black-swan poll-এ wiped out হওয়া কীভাবে এড়াব?
Position sizing rules মানুন। Confidence যাই হোক, কোনো single political market-এ আমরা bankroll-এর 10-15%-এর বেশি cap করি না। Surprise poll কয়েক ঘণ্টায় market 10-20 cents swing করাতে পারে - bankroll-এর অর্ধেক এক market-এ রাখা account suicide।
International elections tradeable কি?
হ্যাঁ, যখন সেগুলো Polymarket-এ appear করে। UK general elections, German federal, French presidential, Indian general - সবই actual vote-এর চারপাশে sustained liquidity-সহ এসেছে। International markets-এ প্রায়ই inefficiency edge থাকে, কারণ বেশিরভাগ US-based bot শুধু US elections-এ focus করে।
2026-এ CFTC regulation election bots-কে কীভাবে affect করে?
US-এ election markets Polymarket US-এ trade করে (regulated DCM), CFTC oversight এবং KYC-সহ। Non-US users Polymarket Global-এর মাধ্যমে access করে। Regulatory status ভিন্ন; Israel এবং বেশিরভাগ EU দেশে recreational use grey zone-এ আছে।