Architecture

A decision layer, not a crystal ball.

LastBasis doesn't try to predict the future. It tries to repeat a process: measure six independent views of the market, wait for agreement, size the position against your risk budget, then execute and record what happened.

The pipeline

Signal to fill in four stages.

01 / Ingest

Market data

OHLCV across four timeframes, order-book depth, funding rates, funding curves, plus a news and on-chain feed. 120+ features per instrument.

02 / Score

Six models vote

Each model returns a direction and a confidence score. Models never see each other's output during scoring — that's what makes the vote informative.

03 / Decide

Weighted consensus

Votes are weighted by each model's recent out-of-sample performance for that regime. Below the threshold, the signal is discarded.

04 / Route

Risk, then execute

Position size is derived from stop distance and your risk budget. The order is routed, filled, and written to the ledger.

The six models

Different methods, deliberately disagreeing.

A committee of copies is useless. Each model below is trained on a different feature space, so it fails for different reasons — and disagreement is information.

  • Trend & structure — higher-timeframe direction, break of structure, range edges.
  • Momentum — rate of change, RSI divergence, MACD regime shifts.
  • Mean reversion — z-scores, volume-weighted deviation from fair value.
  • Order flow — depth imbalance, aggressor volume, liquidation clusters.
  • Sentiment (NLP) — scored headlines and social velocity across 50,000+ sources.
  • On-chain & macro — exchange flows, stablecoin supply, rate expectations.
Trend & structureLONG · 0.81
MomentumLONG · 0.74
Mean reversionNEUTRAL · 0.42
Order flowLONG · 0.69
SentimentLONG · 0.61
On-chain & macroLONG · 0.58
Consensus0.64 → execute
Threshold0.60

Illustrative decision record. Live records are available in your dashboard.

The risk layer

Position sizing is arithmetic, not opinion.

The risk layer sits between the signal and the exchange. It can veto any trade, and it has the final word over the models.

The formula behind every position

Size is derived from the distance to the stop, not from conviction. If a setup needs a wide stop, the position gets smaller — the risk in currency terms stays constant.

Risk budget per trade1.0% of equity
Stop distance1.8 × ATR(14)
Notional(equity × 1.0%) ÷ stop %
Hard portfolio cap10% drawdown

Black Swan Shield

Realised volatility is measured continuously against its own trailing distribution. In a stress regime the shield halves exposure, widens stops and stops opening new risk until volatility mean-reverts.

Correlation awareness

BTC, ETH and SOL are not three separate bets. The engine measures rolling correlation and treats clustered positions as one exposure.

An audit trail you can actually read

Every action is recorded with the inputs that produced it — model votes, weights, threshold, sizing maths and fill details. Export it as CSV, or read it in the dashboard.

14:02:11Z  signal  BTC/USDT  consensus=0.64  thr=0.60
14:02:11Z  risk    size=0.0142 BTC  stop=1.8×ATR  risk=1.00%
14:02:11Z  route   venue=binance  type=limit  tif=IOC
14:02:11Z  fill    67,240.10  slip=0.4bps  latency=8.1ms
Profiles

Pick a risk profile. The engine respects it.

Conservative

0.5% risk per trade, 5% portfolio drawdown cap, majors only, fewer but higher-conviction entries.

Lower varianceSlower

Balanced

1.0% risk per trade, 10% cap. The default profile, and the one most accounts run.

DefaultMost accounts

Aggressive

2.0% risk per trade, 20% cap, broader instrument set including smaller-cap pairs. Expect deeper drawdowns.

Higher varianceWider universe

See the reasoning on your own account.

Every fill comes with the votes that produced it. Fund $250 and read the log before you trust it.