Technical Documentation
Technical Reference
Detailed technical documentation covering the internal architecture, algorithms, data models, and APIs that power the Open Mandi exchange. This documentation is intended for developers, researchers, and anyone interested in the engineering behind the platform.
System Architecture
Technology stack, frontend/backend layers, and deployment model.
Order Matching Engine
Price-time priority matching algorithm, order book data structures.
Price Discovery
USDT/USDC free-market pricing mechanism and order book dynamics.
Futures Specifications
XAU and XAG contract parameters, margin, and liquidation rules.
API Reference
REST endpoints, WebSocket feeds, authentication, and errors.
Data Models
Entity schemas for users, wallets, orders, trades, and positions.
Security Model
Authentication, authorization, input validation, and audit logging.