⚡ sabeq سابق Home

Sabeq CLI — Command-Line Interface

Official Terminal Tool for Quantitative EGX Stock Intelligence, Confluence Scoring & Trade Signals
sabeq v1.0.0 OpenAPI 3.1 llms.txt
Zero-Install Terminal Access: You do not need to install anything locally to run the Sabeq CLI. Use npx sabeq <command> directly from any terminal with Node.js installed.

1. Quick Start with NPX

# Check system status and API gateway latency
npx sabeq status

# View live EGX indices quantitative radar
npx sabeq indices --swing 1w

# Fetch top 5 ranked algorithmic swing trade setups
npx sabeq top5 --swing 2w

2. Installation Options

Global NPM Installation (Recommended)

npm install -g sabeq

# Verify installation
sabeq --help

Standalone Curl Script

curl -sS https://sabeq.org/install.sh | bash

3. Command Reference

sabeq status

Checks API gateway connectivity, response latency, active API version, and rate limit quotas.

sabeq status

sabeq indices [options]

Displays real-time quantitative scores, verdict (BUY/HOLD/DEFENSE), and multi-phase timelines across all 10 EGX indices.

Options: -s, --swing <1w|2w> (default: 2w) | -j, --json (raw JSON)

sabeq indices --swing 1w
sabeq indices --json | jq .

sabeq top5 [options]

Returns the top 5 algorithmic stock picks evaluated by mathematical confluence with 1.1% fee friction pre-deducted.

Options: -s, --swing <1d|1w|2w|1m> (default: 1w) | -j, --json

sabeq top5 --swing 1w

sabeq quote <symbol>

Inspects technical confluence, entry zone, target, and stop floor for any EGX stock symbol.

sabeq quote COMI
sabeq quote TMGH

sabeq auth <token>

Saves your API authentication JWT token locally in ~/.sabeq/config.json.

sabeq auth eyJhbGciOi...

4. Scripting & AI Agent Workflows

AI agents and automated bash scripts can pipe structured JSON output by passing the --json flag:

# Extract highest-ranked pick symbol
TOP_PICK=$(npx sabeq top5 --swing 1w --json | jq -r '.top5Week[0].symbol')
echo "Executing systematic allocation for: $TOP_PICK"

5. Machine-Readable Documentation