Overview of Polymarket Exchange Integration
mainPolymarket is a decentralized prediction market platform built on Polygon. The dr-manhattan integration supports multiple specialized APIs for different use cases:
- CLOB API: Used for order book operations, trading, and order management (
https://clob.polymarket.com/). - Gamma API: Used for market discovery and market data (
https://gamma-api.polymarket.com/). - Data API: Used for user data, holdings, and on-chain activities (
https://data-api.polymarket.com/). - WebSocket API: Provides real-time orderbook and user updates (
wss://ws-subscriptions-clob.polymarket.com/ws/). - RTDS WebSocket: Provides real-time data streams like crypto prices and discussions (
wss://ws-live-data.polymarket.com).
Note: This integration uses the py-clob-client dependency. Always verify order placement against current Polymarket SDK guidance before production trading.