a strategy is four decisions.
matter ships each one as a typed primitive. write your own, or pull from a library that's been hammered against years of on-chain and CEX data.
three steps. nothing custodial.
every primitive is a one-line import.
the first cut. opinionated, typed, tested. new primitives ship as packages — semver, audit log, the works.
fast/slow exponential moving-average crossover.
enter when RSI dips below a band and reverts.
funding rate flips sign on a perp venue.
range break confirmed by σ-multiple volume.
sweep of a stop cluster, then mean-revert.
perp basis decouples from spot beyond θ.
size positions to a target realized σ.
hard pause if equity curve breaches threshold.
per-leg and aggregate notional caps.
reject trades that raise portfolio ρ above θ.
fractional-kelly sizing from edge estimate.
re-weight on a fixed cadence (1h…7d).
re-weight when drift exceeds a band.
allocate inversely proportional to σ.
equalize risk contribution across legs.
trailing stop activated past breakeven.
scale-out across N tiers above entry.
flat after a maximum hold duration.
snap a strategy together — right here.
drag primitives from the palette into the stack. reorder by dragging. the code panel updates as you compose.
read the types.
write the strategy.
matter is a typescript sdk. import primitives, compose them, export a strategy. that's it.
every primitive is a type.
inputs, outputs, side effects — declared upfront. compositions that don't fit fail at the type checker, not at runtime.
runs on your machine.
backtest, paper-trade, debug — all from the cli. no cloud account required to write your strategy.
small pieces, shared interfaces.
every primitive speaks the same protocol. swap an entry for a different entry; the rest of the strategy keeps working.
the dangerous parts are shared.
execution, custody handoff, accounting — written once, audited once. your strategy just decides what to do.
four quarters. honestly scoped.
dates slip in crypto; intent shouldn't. here's what's on the bench and what's queued behind it.
private alpha.
- core sdk · 18 primitives
- composer (cli + studio)
- invite-only access
- local backtester
solana primitives.
- jupiter · drift · marginfi
- cross-chain venue routing
- on-chain execution receipts
primitive marketplace.
- third-party publishing
- royalty + versioning
- attestations & audits
- on-chain primitive registry
public composer.
- open access
- browser-native studio
- shared strategy snapshots
- +12 primitives