dr-manhattan is an open source unified API designed specifically for prediction markets, functioning as the CCXT equivalent for this emerging financial sector. It provides developers with a standardized interface to interact with multiple prediction market platforms through a single codebase.
The product offers a unified interface that allows writing exchange-agnostic code across all supported prediction markets. It includes WebSocket support for real-time market data streaming with built-in connections for live orderbook and trade updates. The platform features a strategy framework with base classes for building trading strategies, order tracking, position management, and event logging. It provides comprehensive order management capabilities for creating, canceling, and tracking orders with standardized error handling across exchanges.
dr-manhattan works by implementing abstract methods that allow developers to write code once and deploy across multiple prediction market platforms including Polymarket, Kalshi, Opinion, and Limitless. The clean architecture makes integration straightforward and extensible for adding new exchanges.
The benefits include simplified development workflows, reduced code complexity, and the ability to build prediction market applications that can operate across multiple platforms simultaneously. It enables developers to create trading strategies that work uniformly across different prediction market ecosystems.
The target users are developers building prediction market applications, with full type hints throughout the codebase for catching errors early and superior IDE autocomplete. The platform is designed to be easily extensible for adding new exchanges by implementing abstract methods.
admin
dr-manhattan is designed specifically for developers building prediction market applications. The target audience includes developers who need to interact with multiple prediction market platforms and want to write exchange-agnostic code that works across Polymarket, Kalshi, Opinion, Limitless, and other supported exchanges.