Algorithmic Trading, Quantified.
Write Python strategies, construct portfolios, and deploy them on live crypto perpetual markets — with institutional-grade execution and analytics.
Write strategies
in code you own.
Express your alpha as pure Python. Use NumPy, polars, or any library you trust. Prime handles execution, position sizing, and live data — you focus on the edge.
- Full NumPy / polars support
- Custom signal & weight pipelines
- Backtesting with historical data
- Redeployment with minimal downtime
import polars as plfrom adrs import Alphafrom adrs.data import DataInfo, DataColumn, DataProcessor
class SpreadZScore(Alpha): def __init__(self, window: int = 20): self.window = window
def next(self, data_df: pl.DataFrame) -> pl.DataFrame: spread = pl.col("close_bybit") - pl.col("close_binance")
zscore = (
(spread - spread.rolling_mean(self.window))
/ spread.rolling_std(self.window, ddof=1)
)
df = (
data_df.with_columns(zscore.alias("zscore"))
.filter(pl.col("zscore").is_finite())
)
df = df.with_columns(
pl.when(pl.col("zscore") >= 1.5)
.then(1)
.when(pl.col("zscore") <= -1.5)
.then(0)
.otherwise(None)
.forward_fill()
.fill_null(strategy="zero")
.alias("signal")
)
return dfPlatform
Everything a quant needs.
From strategy development to live execution and performance attribution — all in one place.
Sub-second Execution
Orders hit the exchange within milliseconds via persistent WebSocket connections to upstream perpetual markets.
Real-time Analytics
Equity curves, drawdown charts, and live P&L — monitor live execution metrics as portfolios run on the cloud.
Portfolio Tiers
Portfolios are graded from C− to Legendary. Hit performance thresholds to unlock higher capital allocations.
Multi-Alpha Portfolios
Combine multiple alpha signals into a single portfolio with configurable weights and live rebalancing.
Risk Controls
Per-portfolio position limits, drawdown stops, and real-time margin monitoring — enforced at the platform level.
Full Python SDK
Import `adrs` in your strategy and get market data, portfolio state, and performance metrics out of the box.
Ready to go live?
Deploy your first portfolio in minutes. Connect a strategy, set your risk parameters, and let Prime handle the rest.