OKX Outcomes CLI
Binary-outcome (YES / NO) event-contract trading via the external okx-outcomes binary (formerly OKX Prediction Markets / okx-predict), wrapped under okx outcomes <command>.
Preflight
Run
../_shared/preflight.mdStep 1 only (main CLI auto-upgrade). Steps 2 and 3 (OAuth/API-key detection, version drift) do not apply — Outcomes markets use an independent credential set.Confirm
okx-outcomesbinary is reachable:okx outcomes statusIf you see
Error: okx-outcomes binary not found in PATH, install it first (see Prerequisites).
Prerequisites
# 1. Main OKX CLI (provides the `okx outcomes` wrapper command)
npm install -g @okx_ai/okx-trade-cli
Installs: 2.0K | GitHub stars: 204 | First seen: Jun 11, 2026


