Introduction
Read the pool's trend regime, quote exactly what the router will execute, and run spread-aware DCA orders: from TypeScript, from an AI agent, or over plain HTTP. No API keys and no oracle; everything comes from the live pool on Unichain Sepolia.
How Poincaré worksNew here? The problem, the idea and the parts, in plain words with figures.The trend detectorHow the pool decides a trend is real, with a worked example.QuickstartRead the regime, quote a swap and plan a DCA order in five minutes.TypeScript SDK@poincaretrade/sdk: one client for regime, quotes and DCA orders, with unsigned transactions for any signer.MCP server15 tools for Claude and any MCP client. Unsigned by default; sends only with your key and send: true.HTTP APIStateless JSON over HTTPS. Reads from the chain, returns unsigned transactions, never holds keys.
What you can build
- Trend-aware trading bots that wait out the spread instead of paying it, or act at the onset of a confirmed trend.
- DCA and TWAP products on top of PoincareDCA: recurring buys that never pay the trend spread and still finish on time.
- Agents that explain the market regime and manage a user's orders through MCP tools.
- Dashboards on the detector's own signal: evidence, directional efficiency, who pays and how much.
Conventions
| Thing | Convention |
|---|---|
| Prices | USDC per WETH, so "up" means the chart goes up |
| Sides | buy pays USDC for WETH; sell pays WETH for USDC |
| Amounts in | Decimal strings in the input token: "100" USDC, "0.05" WETH |
| Amounts out | bigints with 18 decimals in the SDK; decimal strings over HTTP and MCP |
| Spreads | Fractions in the SDK (0.0431 = 4.31%), basis points on chain and in orders |
Testnet. Poincaré runs on Unichain Sepolia (chain 1301). Test tokens have no value; the app's faucet gives 50,000 USDC and 20 WETH per claim.