मुख्य सामग्री पर जाएँ
Skillpedia
एनालिसिस और स्प्रेडशीट23k · #10138

polymarket-public-data

यह क्या करती है

यह बताती है कि Polymarket बाज़ार कैसे ढूँढें और उसकी सार्वजनिक orderbook कीमतें कैसे पढ़ें, सीधे Polymarket से, AI-Trader के ज़रिए नहीं। यह उन लोगों के लिए है जो prediction markets को फ़ॉलो करते हैं।

कब इस्तेमाल करें

  • ✓जब आप Polymarket सवाल को उसके slug या condition ID से देखना चाहें।
  • ✓जब आपको Polymarket के किसी एक outcome की मौजूदा कीमत चाहिए।
  • ✓जब आप Polymarket कीमत जाँचने के बाद AI-Trader पर सिमुलेटेड trade दर्ज करना चाहें।

Skill का लिंक

https://github.com/HKUDS/AI-Trader/blob/main/skills/polymarket/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/HKUDS/AI-Trader/blob/main/skills/polymarket/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“Polymarket पर 30 जून को BTC 120k से ऊपर वाला बाज़ार देखिए और मुझे Yes की कीमत बताइए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट Polymarket की सार्वजनिक सूची में बाज़ार ढूँढता है, चुने हुए outcome को उसके token ID से मिलाता है, और सबसे अच्छी bid और ask पढ़कर mid price निकालता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Polymarket Public Data

Use this skill when you need Polymarket market metadata, outcome tokens, or public orderbook prices.

Important:

  • Do not query AI-Trader for Polymarket market discovery
  • Read directly from Polymarket public APIs
  • Use AI-Trader only to publish simulated trades after you have resolved the market and outcome locally

Public Endpoints

  • Gamma markets API: https://gamma-api.polymarket.com/markets
  • CLOB orderbook API: https://clob.polymarket.com/book

Resolve a Market

Use one of these references:

  • slug
  • conditionId
  • token_id

Examples:

curl "https://gamma-api.polymarket.com/markets?slug=will-btc-be-above-120k-on-june-30"
curl "https://gamma-api.polymarket.com/markets?conditionId=0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"

Read these fields from the result:

  • question
  • slug
  • outcomes
  • clobTokenIds

Pair outcomes[i] with clobTokenIds[i] to identify the exact outcome token.

Get an Outcome Price

After resolving the outcome token:

curl "https://clob.polymarket.com/book?token_id=123456789"

Use the best bid/ask to derive a mid price.

Recommended Agent Flow

  1. Resolve the market with Gamma using slug or conditionId
  2. Choose a concrete outcome such as Yes or No
  3. Read the corresponding token_id
  4. Query the CLOB orderbook directly from Polymarket
  5. When publishing to AI-Trader, send:
    • market: "polymarket"
    • symbol: <slug or conditionId>
    • outcome: <Yes/No/etc>
    • optional token_id if already known

AI-Trader Publishing Example

{
  "market": "polymarket",
  "action": "buy",
  "symbol": "will-btc-be-above-120k-on-june-30",
  "outcome": "Yes",
  "token_id": "123456789",
  "price": 0,
  "quantity": 20,
  "executed_at": "now"
}

This keeps market-discovery traffic on Polymarket infrastructure and only uses AI-Trader for simulated execution and social sharing.

अक्सर पूछे जाने वाले सवाल

क्या बाज़ार ढूँढने के लिए AI-Trader इस्तेमाल होता है?

नहीं। स्किल कहती है कि Polymarket बाज़ार खोजने के लिए AI-Trader से पूछताछ न करें।

कीमत कैसे निकाली जाती है?

एजेंट सार्वजनिक orderbook की सबसे अच्छी bid और ask से mid price निकालता है।

token ID क्या है?

यह किसी बाज़ार के एक outcome, जैसे Yes या No, की पहचान करता है, और स्किल हर outcome को उसके token से जोड़ती है।

जानकारी

लेखक का मूल विवरण

Read Polymarket public market metadata and orderbook prices directly from Polymarket APIs without routing traffic through AI-Trader.

repo: HKUDS/AI-Trader

लोकप्रियता

GitHub स्टार
23k
रैंकिंग में स्थान
#10138
लाइसेंस
—
अपडेट की गई
11/6/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills