Product / Docs

Product docs

How to build a strategy in Alphora.

Start with the Python library: choose a universe, use a signal, build a portfolio, run a local draft, then send a verified backtest. The docs explain each step.

The catalogue, examples, and docs should all describe the same strategy workflow.

Python library

from alphora import Alphora

client = Alphora(api_key=os.environ["ALPHORA_API_KEY"])
universe = client.universes.crypto_perps_top_20()
premium = client.features.premium_reversion(universe)

portfolio = client.construct.market_neutral(premium)
draft = client.backtest_local(portfolio, start="2022-01-01")
run = client.backtest(portfolio, start="2022-01-01")
run.paper_trade()

Getting started

Install the Python package, authenticate once, pick a universe, compose a strategy, test it locally, then send a verified backtest.

  • The Python library is the main product surface whether you write the code or your AI does.
  • Every first strategy starts from a named universe and one or more reusable signals.
  • Supported verified backtests can be followed later through paper tracking.

Library reference

Functions for universes, signals, portfolio construction, risk controls, and both local and verified backtests.

  • Function signatures stay narrow so the strategy shape stays readable and inspectable.
  • Defined extension points show where custom logic can plug in safely.
  • Each signal links back to its catalogue page, research context, and paper-trading status.

Composition guide

How you or your AI combine reusable signals into supported strategies with known structure and reproducible results.

  • Weighted blends, neutralisations, transformations, and gates are first-class operations.
  • Construction and risk overlays are applied in a deterministic order.
  • The same composition yields the same verified backtest and the same paper-tracking baseline.

Backtest semantics

What `backtest_local()` is for, what `backtest()` guarantees, and why the verified run is the one that matters.

  • Local runs are fast and disposable; verified runs are the canonical records that matter.
  • Point-in-time correctness, look-ahead protection, and realistic fills are part of the contract.
  • Universe churn, liquidity filters, and exclusions are versioned with the signals that use them.
  • The output is reproducible because the strategy is fully described by its function calls.

API preview

A lower-level API for teams that want the same signals and run model without the Python wrapper. It is not the main path at launch.

  • Historical requests are explicit about as-of date, universe, and freshness.
  • Planned paper-tracking endpoints expose the current paper state of supported signals and verified strategies.
  • The library remains the default starting point for most users.

AI agent guide

Rules for Cursor, Claude, or other agents so they stay inside supported Alphora workflows.

  • Explains how to compose from supported signals instead of inventing arbitrary strategy shapes.
  • Lists the required checks before an agent proposes a downstream strategy.
  • Shows reference Python patterns plus the planned lower-level API shape.

Answer-first guides

Plain-language pages that explain the same workflow the docs assume.

These pages are designed for the questions people ask before they are ready to read a full API or library reference.

Research process

What is the difference between backtesting and paper trading?

Understand the practical difference between backtesting and paper trading, what each one is good for, and why serious strategy work needs both.

Tool intuition

How should you think about Monte Carlo equity paths?

Learn how to interpret Monte Carlo equity paths, which metrics matter, and how Alphora's GBM simulator is useful without pretending to be a full backtest.

Tool intuition

What does cross-strategy correlation actually change?

Learn why cross-strategy correlation matters, how it affects portfolio behavior, and how Alphora's multi-strategy simulator helps make the tradeoffs visible.

Research process

Why does out-of-sample matter more than a clean in-sample backtest?

Learn why out-of-sample performance matters, what it reveals that in-sample cannot, and how Alphora's product framing keeps that distinction visible.

Research process

How should you research Hyperliquid HIP-4 markets?

Learn a practical research workflow for Hyperliquid HIP-4 markets, from data modeling to forward validation.

Research process

How do you evaluate a carry trade before calling it market neutral?

Learn how do you evaluate a carry trade before calling it market neutral, why it matters in carry and basis trading, and what to validate before trusting the workflow in live research.

Research process

How do you turn a volatility forecast into a trade filter?

Learn how do you turn a volatility forecast into a trade filter, why it matters in volatility forecasting and dispersion, and what to validate before trusting the workflow in live research.

Research process

How do you size uncorrelated sleeves?

Learn how do you size uncorrelated sleeves, why it matters in portfolio construction and risk budgets, and what to validate before trusting the workflow in live research.

Research process

How do you spot backtest leakage?

Learn how do you spot backtest leakage, why it matters in backtest design and evaluation, and what to validate before trusting the workflow in live research.

Research process

What is walk-forward testing in trading?

Learn what walk-forward testing is, why traders use it instead of one clean split, and how it fits into an honest validation workflow.

Research process

How do you audit a dataset for strategy research?

Learn how do you audit a dataset for strategy research, why it matters in data quality and microstructure, and what to validate before trusting the workflow in live research.

Research process

How do you backtest a binary signal strategy?

Learn how to backtest a binary signal strategy honestly, including trigger rules, holding windows, rebalance behavior, and the trading costs that often dominate threshold systems.

Research process

How do you monitor a paper strategy day to day?

Learn how do you monitor a paper strategy day to day, why it matters in paper trading and live monitoring, and what to validate before trusting the workflow in live research.

Research process

How should you think about news and catalysts in Hyperliquid HIP-4 markets?

Learn how to think about news and catalysts in Hyperliquid HIP-4 markets without reducing every event to a generic sentiment trade.

Research process

How should you paper trade a Hyperliquid HIP-4 idea?

Learn how to paper trade a Hyperliquid HIP-4 idea so you can test the contract logic, timing, and execution assumptions before going live.

Research process

How does rebalancing differ for binary and continuous signals?

Learn how rebalancing interacts differently with binary and continuous signals, and why cadence, thresholding, and turnover policy belong to the same design decision.

Research process

How should you read cross-strategy correlation output?

Learn how should you read cross-strategy correlation output, why it matters in quant tool intuition, and what to validate before trusting the workflow in live research.

Research process

How should you interpret time to expiry in HIP-4 markets?

Learn how should you interpret time to expiry in HIP-4 markets, why it matters in hyperliquid HIP-4 markets, and what to validate before trusting the workflow in live research.

Research process

How should you think about volatility forecasting for HIP-4 markets?

Learn how should you think about volatility forecasting for HIP-4 markets, why it matters in hyperliquid HIP-4 markets, and what to validate before trusting the workflow in live research.

Research process

How should you think about scheduled versus event-driven rebalancing?

Learn how to compare scheduled and event-driven rebalancing, when each approach fits better, and what to validate before choosing one.

Research process

How do you turn a raw score into a position size?

Learn how do you turn a raw score into a position size, why it matters in signal and portfolio design, and what to validate before trusting the workflow in live research.

Research process

How do threshold bands reduce overtrading?

Learn how threshold bands reduce overtrading, when they help, and what to validate before trusting them in a live strategy.

Research process

How do you compare a backtest against a real baseline?

Learn how do you compare a backtest against a real baseline, why it matters in research workflow, and what to validate before trusting the workflow in live research.

Research process

How do execution assumptions distort backtests?

Learn how execution assumptions distort backtests, which shortcuts do the most damage, and how to validate a strategy more honestly.

Research process

How do partial rebalances differ from full rebalances?

Learn how partial and full rebalances differ, why traders choose one over the other, and what the trade-off really is.

Research process

How do you combine multiple signals in one portfolio?

Learn how do you combine multiple signals in one portfolio, why it matters in signal and portfolio design, and what to validate before trusting the workflow in live research.

Research process

How do you use a simulator before building a strategy?

Learn how do you use a simulator before building a strategy, why it matters in quant tool intuition, and what to validate before trusting the workflow in live research.

Research process

How do turnover caps change portfolio construction?

Learn how turnover caps affect portfolio construction and why cost-aware allocations often look different from frictionless ones.

Research process

How do you size a HIP-4 trade?

Learn how do you size a HIP-4 trade, why it matters in hyperliquid HIP-4 markets, and what to validate before trusting the workflow in live research.

Research process

How do you calibrate a trading probability?

Learn how trading probability calibration works, what it should be measured against, and why a sharp-looking score is not enough on its own.

Research process

Why can a strong signal still be untradeable?

Learn why a strong-looking signal can still fail the tradeability test and what to check before mistaking prediction quality for a live strategy.

Research process

How do hysteresis bands differ from simple thresholds?

Learn how hysteresis bands differ from simple thresholds, why they reduce chatter, and what to test before trusting them in live trading.

Research process

How should you set a trading threshold when costs are nonlinear?

Learn how to set a trading threshold when costs are nonlinear and why one clean global cutoff often fails in live execution.

Research process

Why does a trading probability look calibrated in sample but fail live?

Learn why an apparently calibrated trading probability can drift live and what to monitor before the failure gets expensive.

Research process

How do you get an AI agent to compose a trading strategy without inventing unsupported logic?

Learn how do you get an AI agent to compose a trading strategy without inventing unsupported logic, why it matters in aI agent strategy composition, and what to validate before trusting the workflow in live research.

Research process

How do you walk-forward test a calibration or threshold rule?

Learn how to walk-forward test calibration and threshold rules so they do not borrow credibility from one full-sample fit.

Research process

How do you turn a market idea into a machine-readable strategy spec?

Learn how do you turn a market idea into a machine-readable strategy spec, why it matters in aI trading prompts and strategy specs, and what to validate before trusting the workflow in live research.

Research process

How do you set up an automated trading strategy from scratch?

Learn how do you set up an automated trading strategy from scratch, why it matters in automated strategy setup and first rollout, and what to validate before trusting the workflow in live research.

Research process

How do you keep an automated strategy simple enough to debug?

Learn how do you keep an automated strategy simple enough to debug, why it matters in automated strategy setup and first rollout, and what to validate before trusting the workflow in live research.

Research process

How do you automate backtests without losing reproducibility?

Learn how do you automate backtests without losing reproducibility, why it matters in backtest automation and experiment pipelines, and what to validate before trusting the workflow in live research.

Research process

What makes a regime filter robust?

Learn what makes a regime filter robust, which failure modes usually expose overfitting, and how to pressure-test context rules before trusting them.

Research process

How do you test whether a context layer actually helps?

Learn how to test whether a regime or context overlay adds real value, and what evidence should exist before it earns a place in the live stack.

Research process

How do you automate paper trading before you promote a strategy further?

Learn how do you automate paper trading before you promote a strategy further, why it matters in paper trading automation and rollout readiness, and what to validate before trusting the workflow in live research.

Research process

Can a regime filter survive across assets and market cycles?

Learn how to evaluate whether a regime filter generalizes across assets and cycles, and what kinds of degradation are acceptable versus disqualifying.

Research process

How do you design alerts that catch real strategy problems instead of creating noise?

Learn how do you design alerts that catch real strategy problems instead of creating noise, why it matters in strategy monitoring, alerts, and kill switches, and what to validate before trusting the workflow in live research.

Research process

How do you know a context layer is not just double-counting the main signal?

Learn how to tell whether a context overlay adds independent information or is just a more complicated version of the main signal.

Research process

When should you remove a regime filter instead of keep tuning it?

Learn when a regime filter has become maintenance theater, and how to decide whether to retire, simplify, or replace it.

Research process

How do you turn a score into a ranked book?

Learn how do you turn a score into a ranked book, why it matters in cross-sectional ranking and selection, and what to validate before trusting the workflow in live research.

Research process

How do you turn a trading signal into an execution workflow?

Learn how do you turn a trading signal into an execution workflow, why it matters in execution workflows and order automation, and what to validate before trusting the workflow in live research.

Research process

How do you keep automated execution from breaking a valid strategy?

Learn how do you keep automated execution from breaking a valid strategy, why it matters in execution workflows and order automation, and what to validate before trusting the workflow in live research.

Research process

How do you decide what should trigger a trading workflow?

Learn how do you decide what should trigger a trading workflow, why it matters in event-driven triggers and scheduled jobs, and what to validate before trusting the workflow in live research.

Research process

How should you use AI to generate trading ideas without trusting it blindly?

Learn how should you use AI to generate trading ideas without trusting it blindly, why it matters in aI research copilots and signal discovery, and what to validate before trusting the workflow in live research.

Research process

How do you turn an AI-generated trading idea into a testable hypothesis?

Learn how do you turn an AI-generated trading idea into a testable hypothesis, why it matters in aI research copilots and signal discovery, and what to validate before trusting the workflow in live research.

Research process

When should you roll back an automated strategy rollout?

Learn when should you roll back an automated strategy rollout, why it matters in rollout environments, staging, and rollbacks, and what to validate before trusting the workflow in live research.

Research process

How do you stage a trading workflow without duplicating the whole system?

Learn how do you stage a trading workflow without duplicating the whole system, why it matters in rollout environments, staging, and rollbacks, and what to validate before trusting the workflow in live research.

Research process

How do you rebalance a ranked strategy without turning it into churn?

Learn how do you rebalance a ranked strategy without turning it into churn, why it matters in cross-sectional ranking and selection, and what to validate before trusting the workflow in live research.

Research process

How do you automate a portfolio made of multiple strategy sleeves?

Learn how do you automate a portfolio made of multiple strategy sleeves, why it matters in portfolio automation and sleeve orchestration, and what to validate before trusting the workflow in live research.

Research process

How do you keep portfolio automation from hiding which sleeve is actually failing?

Learn how do you keep portfolio automation from hiding which sleeve is actually failing, why it matters in portfolio automation and sleeve orchestration, and what to validate before trusting the workflow in live research.

Research process

How do you audit why an automated strategy made a trade?

Learn how do you audit why an automated strategy made a trade, why it matters in strategy state, memory, and decision audits, and what to validate before trusting the workflow in live research.

Research process

How do you design manual overrides for an automated strategy?

Learn how do you design manual overrides for an automated strategy, why it matters in human review, approvals, and override flows, and what to validate before trusting the workflow in live research.

Research process

How do you plug a custom AI signal into an Alphora strategy?

Learn how do you plug a custom AI signal into an Alphora strategy, why it matters in custom signals and AI tooling integration, and what to validate before trusting the workflow in live research.

Research process

How do you keep an AI trading agent from using future data by accident?

Learn how do you keep an AI trading agent from using future data by accident, why it matters in point-in-time data and agent safety, and what to validate before trusting the workflow in live research.

Python

from alphora import Alphora

client = Alphora(api_key=os.environ["ALPHORA_API_KEY"])
universe = client.universes.crypto_perps_top_20()
premium = client.features.premium_reversion(universe)

portfolio = client.construct.market_neutral(premium)
draft = client.backtest_local(portfolio, start="2022-01-01")
run = client.backtest(portfolio, start="2022-01-01")
run.paper_trade()

Planned API shape

const res = await fetch(
  "https://api.alphora.io/v1/features/crypto/premium-reversion?as_of=2026-04-30&universe=crypto-perps-top20",
  { headers: { Authorization: `Bearer ${process.env.ALPHORA_API_KEY}` } }
);

const panel = await res.json();

Launch preview

The docs are part of the product, not a post-launch cleanup project.

People should be able to see exactly how a strategy moves from code to verified backtest to paper tracking, and where the planned lower-level API fits if they need it.

Join launch waitlist

One launch email. No funnel.