Documentation

Build with Cortexao.

Guides and references for the terminal, agent definitions, the SDK and the API.

Quickstart

Create an account, connect an exchange with a trade-only API key, and launch a paper-trading agent from the template library in under five minutes.

Agent definitions

Agents are declared as versioned strategy files with a market, entry and exit logic, position sizing and mandatory risk limits.

Agent SDK

Write custom signals in TypeScript or Python, then plug them into any agent. The SDK handles data feeds, order routing and risk checks.

REST & WebSocket API

Stream market data, agent events and fills over WebSocket. Manage agents, positions and the kill switch over REST.

Status & limits

Rate limits, supported exchanges and current system status are listed here.

# Stream agent events
const ws = new WebSocket("wss://api.cortexao.com/v1/stream");
ws.send(JSON.stringify({ op: "subscribe", channels: ["agents", "fills"] }));
ws.onmessage = (e) => console.log(JSON.parse(e.data));