âš¡ CCXT & Quantitative Trading API
Developer & Quant Bot Management
Create and manage programmatic API Keys with HMAC-SHA256 signatures, IP whitelisting, and granular Read, Trade, and Withdraw permissions for algorithmic trading bots and market makers.
🔑 Active API Keys (0/10)
Gateway Endpoint: https://madracoin.com/apiLoading your developer keys...
Bot Integration Snippet
Directly connect your Python or Node.js quantitative bots to MadraCoin
# MadraCoin Python Quant Bot Connector (HMAC-SHA256)
import hmac, hashlib, time, requests
API_KEY = "mdc_live_your_api_key"
API_SECRET = "mdc_sec_your_api_secret"
BASE_URL = "https://madracoin.com/api"
def send_signed_request(endpoint, method="GET", payload=""):
timestamp = str(int(time.time() * 1000))
signature_payload = f"{timestamp}{method}{endpoint}{payload}"
signature = hmac.new(API_SECRET.encode(), signature_payload.encode(), hashlib.sha256).hexdigest()
headers = {
"X-MDC-APIKEY": API_KEY,
"X-MDC-TIMESTAMP": timestamp,
"X-MDC-SIGNATURE": signature,
"Content-Type": "application/json"
}
return requests.request(method, f"{BASE_URL}{endpoint}", headers=headers)
# Test Gateway Ping
response = requests.get(f"{BASE_URL}/developer/ping")
print("MadraCoin HFT Gateway Status:", response.json())