Developer Guide

Quick Start

From API key to first signal in under 5 minutes. Choose your integration method below.

Prerequisites

You need an API key. Subscribe at nexusalpha.io โ€” you'll receive your key via email immediately after checkout.

๐Ÿ”‘ Your API key format: nx_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (48 chars)

Option A โ€” Python SDK RECOMMENDED

The fastest path for quant workflows. Typed models, DataFrame export, streaming support.

1

Install

# Core only (REST API)
pip install nexus-alpha

# With DataFrame support (recommended)
pip install nexus-alpha[pandas]

# With WebSocket streaming
pip install nexus-alpha[all]
2

Connect and pull signals

from nexus_alpha import NexusAlpha

client = NexusAlpha("nx_live_your_key_here")
# Or: export NEXUS_ALPHA_API_KEY=nx_live_... then NexusAlpha()

# Top signals right now
for s in client.signals.top(limit=10):
    print(f"{s.ticker:6s} | {s.signal:12s} | conf={s.confidence:.3f} | {s.freshness_status}")
    print(f"  {s.rationale[:80] if s.rationale else ''}")
NVDA   | OVERWEIGHT   | conf=0.712 | LIVE
  GPU demand accelerating; data center revenue beat by 18%
MSFT   | BUY          | conf=0.683 | LIVE
  Azure growth +29% YoY; AI copilot ARR surpassed $5B
3

Load full history into a DataFrame

# Tier 1: up to 500 rows | Tier 2+: up to 5,000 rows
df = client.signals.history(
    date_from="2024-01-01",
    min_confidence=0.65,
).to_dataframe()

print(df[["ticker", "signal_date", "signal", "confidence"]].head())
df.to_csv("nexus_signals.csv", index=False)
4

Bulk CSV export (Tier 2+)

# Up to 10,000 signals โ€” load directly into pandas
df = client.data.export(date_from="2022-01-01")
df.to_csv("nexus_full_history.csv", index=False)
print(f"Downloaded {len(df)} signals")
5

Real-time WebSocket stream

def on_signal(signal: dict):
    print(f"๐Ÿ“ก NEW: {signal['ticker']} โ†’ {signal['signal']} (conf={signal['confidence']:.3f})")
    print(f"   {signal.get('rationale', '')}")

# Blocking โ€” runs until Ctrl-C
client.stream(on_signal)

# Non-blocking โ€” runs in background thread
thread = client.stream_async(on_signal)

Option B โ€” REST API (cURL / any language)

1

Test your key

curl https://api.nexusalpha.io/usage \
  -H "X-API-Key: nx_live_your_key_here"
{"tier": 1, "client_name": "Your Fund", "total_calls": 0, ...}
2

Pull top signals

curl "https://api.nexusalpha.io/signals/top?limit=5" \
  -H "X-API-Key: nx_live_your_key_here" | python3 -m json.tool
3

Filter by ticker

curl "https://api.nexusalpha.io/signals?ticker=NVDA&min_confidence=0.65" \
  -H "X-API-Key: nx_live_your_key_here"
4

Download signal history

curl "https://api.nexusalpha.io/signals/history?date_from=2024-01-01&min_confidence=0.65" \
  -H "X-API-Key: nx_live_your_key_here"

Option C โ€” R

library(httr)
library(jsonlite)

api_key <- "nx_live_your_key_here"
base    <- "https://api.nexusalpha.io"

# Top signals
resp <- GET(paste0(base, "/signals/top"),
            add_headers("X-API-Key" = api_key),
            query = list(limit = 20))

signals <- fromJSON(content(resp, "text"))
df <- as.data.frame(signals)
print(df[, c("ticker", "signal", "confidence")])

Key Endpoints

Endpoint Method Tier Description
/signals/topGET1+Highest-confidence BUY/OVERWEIGHT signals now
/signalsGET1+Filterable signals (ticker, signal type, confidence)
/signals/historyGET1+Full history up to 500 (T1) or 5,000 (T2+) rows
/data/exportGET2+CSV bulk download, up to 10,000 rows
/analytics/performanceGET1+Backtest stats + equity curve JSON
/usageGET1+Your API usage and remaining quota
/ws/signalsWS1+Real-time signal stream (auth via ?api_key=)
/statusGETpublicPipeline health, last signal time, SLA metrics
/paper-trackGET1+Live paper track record (since 2026-05-21)

Full interactive API reference (Swagger UI): /docs  ยท  ReDoc: /redoc

Common Query Parameters

ParameterTypeDefaultDescription
tickerstringโ€”Filter by symbol (e.g. NVDA, MSFT)
signalstringโ€”BUY | OVERWEIGHT | NEUTRAL
min_confidencefloat0.60Minimum confidence score
date_fromYYYY-MM-DDโ€”Signal date start
date_toYYYY-MM-DDโ€”Signal date end
limitint50Max rows returned

Rate Limits

TierRequests/hourSignal historyBulk export
Insight ($5k/mo)100500 rowsโŒ
Intelligence ($15k/mo)5005,000 rowsโœ… 10k rows
Institutional ($50k/mo)5,0005,000 rowsโœ… 10k rows
โš ๏ธ Important: Signals are for informational purposes only and do not constitute investment advice. NEXUS Alpha is not a registered investment adviser. See full methodology and limitations.

Support

Email: ksaaus1@gmail.com  ยท  API status: /status  ยท  Full docs: /docs  ยท  Methodology: /methodology