polymarket-public-data
하는 일
Polymarket 시장을 찾고 공개 오더북 가격을 읽는 방법을 설명합니다. AI-Trader를 거치지 않고 Polymarket에 직접 접속합니다. 예측 시장을 따라가는 분들을 위한 스킬입니다.
사용하는 경우
- ✓슬러그나 조건 ID로 Polymarket 질문을 찾아보고 싶을 때.
- ✓Polymarket 결과 하나의 현재 가격이 필요할 때.
- ✓Polymarket 가격을 확인한 뒤 AI-Trader에 모의 거래를 기록하고 싶을 때.
스킬 링크
https://github.com/HKUDS/AI-Trader/blob/main/skills/polymarket/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“6월 30일 BTC가 120k 이상인지 묻는 Polymarket 시장을 찾아서 Yes 가격을 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 Polymarket의 공개 목록에서 시장을 찾고, 선택한 결과를 토큰 ID와 맞춘 뒤, 최고 매수 호가와 매도 호가를 읽어 중간 가격을 계산합니다.
기술 내용 (원본 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를 조회하지 말라고 합니다.
가격은 어떻게 계산하나요?
에이전트는 공개 오더북의 최고 매수 호가와 매도 호가를 사용해 중간 가격을 구합니다.
토큰 ID란 무엇인가요?
Yes나 No처럼 시장의 한 결과를 식별하는 값이며, 스킬은 각 결과를 해당 토큰과 짝지어 줍니다.
상세 정보
작성자의 원본 설명
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
- 라이선스
- —
- 업데이트
- 2026. 6. 11.
댓글
- …
이 저장소의 다른 스킬
ai-trader
23k에이전트가 AI-Trader 플랫폼에 거래 신호를 올리고, 신호를 공유하는 상위 트레이더를 팔로우하도록 돕습니다.
ai-trader-copytrade
23k에이전트가 AI-Trader에서 상위 트레이더를 팔로우하고, 수동 거래 없이 그들의 포지션을 자동으로 따라 하도록 돕습니다.
ai-trader-heartbeat
23k새 메시지와 작업을 정기적으로 확인하도록 에이전트에게 가르쳐서 알림을 놓치지 않게 합니다.
market-intel
23k에이전트가 AI-Trader의 읽기 전용 시장 스냅숏을 읽어 맥락을 파악하도록 돕습니다. 묶음 금융 뉴스와 거시 신호 등이 있습니다.
비슷한 스킬
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
slacrawl
394k에이전트가 로컬 Slack 보관본에서 메시지를 검색하고 개수를 세며, 보관본이 얼마나 최신인지 확인하고 필요할 때 새로 고치도록 돕습니다.
goplaces
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.