External MM V1 is the current programmatic market-maker interface for D1.
- Authenticated API. Bearer API keys issued by D1, with the
mm:readandmm:tradescopes. The key identifies your account. - Market and account reads. Markets, order books, balances, positions, orders and fills.
- Order placement.
POST /mm/v1/ordersplaces good-till-cancelled limit orders. The full quantity is accepted or the order is refused. - Idempotent placement. A required
clientOrderIdmakes retries safe. Reusing one with different terms returns409 IDEMPOTENCY_CONFLICT. - Cancellation.
POST /mm/v1/orders/{orderId}/cancelandPOST /mm/v1/orders/cancel-all. Both stay available when new orders are not. - Execution reconciliation.
GET /mm/v1/executionsgives a gap-free, per-account execution sequence with checkpoints. - Sell-to-close.
SELLorders can only close long positions. Option writing is not available. - Trading controls.
GET /mm/v1/statusreports whether new orders are accepted now and your order limits: open-order exposure, resting orders, and resting orders per market. - Rate limiting. Separate budgets for reads, placement, cancel and cancel-all, per account and per key.
429 RATE_LIMITEDwithRetry-After.