Algorithmic Trading API
Build Trading Algorithms
Professional-grade APIs for algorithmic trading. Build, test, and deploy custom trading strategies with institutional-level infrastructure.
< 1ms
Execution Latency
99.9%
Uptime SLA
Live API Console
API Solutions
Choose the right API for your trading strategy. From simple REST calls to high-frequency FIX protocols.
REST API
HTTP-based API for account management and trading operations
Perfect for portfolio management and periodic trading operations
Account information
Order management
Position tracking
Historical data
Market data snapshots
WebSocket API
Real-time streaming data for live trading applications
Ideal for real-time trading algorithms and high-frequency strategies
Live price feeds
Order book updates
Trade executions
Account updates
Market news
FIX API
Industry standard protocol for institutional trading
Designed for professional traders and institutional clients
Ultra-low latency
Institutional-grade
High throughput
Standard FIX 4.4
Custom message types
API Features
Built for professional algorithmic traders with institutional-grade infrastructure.
Ultra-Low Latency
< 1ms
Sub-millisecond execution times with co-located servers for optimal performance.
Secure & Reliable
99.9%
Bank-grade security with 99.9% uptime guarantee and redundant infrastructure.
Comprehensive Data
1000+
Real-time and historical market data for over 1000 instruments.
Developer Support
24/7
24/7 technical support with dedicated API specialists and documentation.
Code Examples
Get started quickly with our comprehensive code examples in multiple programming languages.
Python
Get Account Balance
import requests # Authentication headers = { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' } # Get account information response = requests.get( 'https://api.mdm.com/v1/account', headers=headers ) account_data = response.json() balance = account_data['balance'] print(f"Account Balance: {balance}")
JavaScript
Place Market Order
const MDM_API = require('mdm-api-client'); const client = new MDM_API({ apiKey: 'YOUR_API_KEY', sandbox: true // Use sandbox for testing }); // Place a buy order const order = await client.orders.create({ symbol: 'EURUSD', side: 'buy', type: 'market', quantity: 100000 }); console.log('Order placed:', order.id);
Java
WebSocket Connection
import io.socket.client.IO; import io.socket.client.Socket; // Connect to WebSocket Socket socket = IO.socket("wss://ws.mdm.com"); // Subscribe to price updates socket.emit("subscribe", "EURUSD"); socket.on("price", (Object... args) -> { JSONObject price = (JSONObject) args[0]; double bid = price.getDouble("bid"); double ask = price.getDouble("ask"); System.out.println( "EURUSD: " + bid + "/" + ask ); }); socket.connect();
Supported Languages & SDKs
Python
JavaScript
Java
C#
C++
Go
Ruby
PHP
Swift
Kotlin
API Pricing
Choose the plan that fits your trading volume and requirements.
Starter
Free
Perfect for testing and small-scale applications
1,000 API calls/month
REST API access
Basic documentation
Email support
Demo account only
Professional
$99/month
For serious algorithmic traders
100,000 API calls/month
REST + WebSocket API
Live trading account
Priority support
Advanced documentation
Code examples
Enterprise
Custom
For institutional clients and high-volume trading
Unlimited API calls
All APIs (REST/WS/FIX)
Dedicated infrastructure
Custom integration
Dedicated support
SLA guarantee
Start Building Today
Join thousands of algorithmic traders who trust MDM API for their trading infrastructure. Get started with our comprehensive documentation and sample code.
Step 1
Register for API access
Step 2
Get your API credentials
Step 3
Start trading programmatically