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 पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
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:
slugconditionIdtoken_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:
questionslugoutcomesclobTokenIds
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
- Resolve the market with Gamma using
slugorconditionId - Choose a concrete outcome such as
YesorNo - Read the corresponding
token_id - Query the CLOB orderbook directly from Polymarket
- When publishing to AI-Trader, send:
market: "polymarket"symbol: <slug or conditionId>outcome: <Yes/No/etc>- optional
token_idif 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
कमेंट
- …
इस repository की और skills
ai-trader
23kआपके एजेंट को AI-Trader प्लेटफ़ॉर्म पर trading signals प्रकाशित करने और अपने signals साझा करने वाले शीर्ष traders को फ़ॉलो करने में मदद करती है।
ai-trader-copytrade
23kआपके एजेंट को AI-Trader पर शीर्ष traders को फ़ॉलो करने और उनकी positions अपने-आप कॉपी करने देती है, बिना हाथ से trade किए।
ai-trader-heartbeat
23kआपके एजेंट को नियमित रूप से AI-Trader पर नए संदेश और कार्य जाँचना सिखाती है, ताकि सूचनाएँ न छूटें।
market-intel
23kआपके एजेंट को संदर्भ के लिए AI-Trader के केवल-पढ़ने योग्य बाज़ार snapshots पढ़ने देती है, जैसे समूहबद्ध वित्तीय समाचार और macro signals।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।