botwir3 Mechanic
Adapter
The platform-specific translation layer that converts gate-approved actions into API calls for a given exchange, broker, or marketplace.
The adapter is the bridge between the botwir3 runtime and the external platform. The runtime speaks a common language — actions like BUY, SELL, ADJUST with parameters like symbol, size, price. The adapter translates those into the platform's specific API format: Coinbase's REST endpoints, Alpaca's streaming API, Polymarket's CLOB interface.
Each platform has its own adapter. The adapter handles authentication (using locally-stored API credentials), rate limiting, error handling, and response parsing. It does not make trading decisions — it executes what the gate approved.
The adapter interface is documented. Any developer can write a custom adapter for any platform with an API. The 39 setup guides describe how to configure existing adapters. The bot does not know or care which adapter is connected — it proposes, the gate validates, the adapter translates.