AQ AegisQuant Docs API v2.4
All Market Feeds Operational

AegisQuant Market & Execution Documentation

Low-latency market data aggregation, deterministic backtesting snapshots, and institutional risk telemetry via unified REST and WebSocket endpoints.

Base REST Endpoint

https://api.aegisquant.app/v2

Transport Security

Strict TLS 1.3 with HTTP/2 multiplexing & HSTS enforcement.

All timestamps returned by AegisQuant endpoints use UTC epoch milliseconds unless explicitly specified as ISO-8601 strings.

Authentication

Private endpoints and elevated market feeds require HMAC-SHA256 request signing. Include your API key, millisecond timestamp, and hexadecimal signature in the request headers.

Header Type Description
X-AQ-KEY string Public identifier associated with your workspace keypair.
X-AQ-TIMESTAMP int64 Current UTC Unix timestamp in milliseconds (30s drift window).
X-AQ-SIGN hex HMAC_SHA256(secret, timestamp + method + path + body)

Market Data REST API

GET/v2/market/orderbook

Returns normalized Level-2 order book snapshots aggregated across supported venues with microsecond ingestion timestamps.

curl -s "https://api.aegisquant.app/v2/market/orderbook?symbol=BTC-USD&depth=5" \
  -H "Accept: application/json"

Sample Response

{
  "symbol": "BTC-USD",
  "sequence": 948271042,
  "timestamp": 1795588800124,
  "bids": [
    ["98420.50", "1.4200"],
    ["98419.00", "3.1050"]
  ],
  "asks": [
    ["98422.00", "0.8500"],
    ["98424.50", "2.6400"]
  ]
}

WebSocket Streaming

Subscribe to incremental L2 deltas and trade ticks over persistent WebSocket channels at wss://ws.aegisquant.app/v2/stream.

{
  "op": "subscribe",
  "channels": [
    { "name": "orderbook.l2", "symbols": ["BTC-USD", "ETH-USD"] },
    { "name": "trades", "symbols": ["BTC-USD"] }
  ]
}

Clients must reply to server heartbeat frames or transmit a JSON {"op": "ping"} frame every 20 seconds to keep idle streams open.

Rate Limits

Tier REST Quota WebSocket Streams Burst Policy
Research 120 req / min 10 concurrent Token bucket (10s window)
Production 1,200 req / min 100 concurrent Token bucket (10s window)
Institutional Custom SLA Dedicated edge Zero-drop priority queue

SDKs & Tooling

Official typed bindings are maintained for Python 3.11+ and Go 1.23+:

pip install aegisquant-sdk
go get github.com/aegisquant/aegisquant-go/v2

Changelog

v2.4.0 — November 2026

Added deterministic replay cursor support to /v2/market/orderbook and reduced L2 delta serialization overhead by 18%.

v2.3.2 — September 2026

Enforced TLS 1.3 minimum cipher suites across all edge POPs and added per-symbol sequence gap headers.

v2.3.0 — July 2026

Introduced unified multi-venue WebSocket multiplexing and Python async streaming iterators.