Moriarty Trade API Documentation
API Overview
The Moriarty Trade API provides programmatic access to trading signals, market data, and user portfolio information. You can integrate these endpoints into your application to automate trading, retrieve historical data, or create custom dashboards.
Available Endpoints
Rate Limit
Latest Version
Authentication
API Key: You must include a valid API key in each request.
Header Format: Authorization: Bearer <YourAPIKey>
Renewal: API keys rotate every 90 days by default.
Get API Key Additional Security:
Optional IP whitelisting and secret-based signature authentication are supported.
Ensure your keys are stored securely and never exposed in client-side code.
Endpoints
Method | Endpoint | Params | Description | Example | Response |
---|---|---|---|---|---|
GET | /api/v1/markets | symbol (optional) | Fetch real-time market data | /api/v1/markets?symbol=BTCUSDT | 200 OK |
POST | /api/v1/orders | symbol, side, qty | Create a new trade order | {"symbol":"BTCUSDT","side":"BUY"} | 201 Created |
GET | /api/v1/orders | order_id (optional) | Retrieve open or specific orders | /api/v1/orders?order_id=123456 | 404 Not Found |
DELETE | /api/v1/orders | order_id | Cancel an existing order | /api/v1/orders?order_id=123456 | 200 OK |