snap-together
strategies.
ship in an afternoon.
matter is a library of typed trading primitives — entry, risk, rebalance, exit. compose them into an agent, deploy non-custodially, take LP capital without writing the boilerplate.
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.
- entryemaCross
fast/slow exponential moving-average crossover.
v0.3.4↗ docs - entryrsiOversold
enter when RSI dips below a band and reverts.
v0.3.2↗ docs - entryfundingFlip
funding rate flips sign on a perp venue.
v0.3.1↗ docs - entryvolBreakout
range break confirmed by σ-multiple volume.
v0.2.6↗ docs - entryliquiditySweep
sweep of a stop cluster, then mean-revert.
v0.2.4↗ docs - entrybasisDivergence
perp basis decouples from spot beyond θ.
v0.2.1↗ docs - riskvolTarget
size positions to a target realized σ.
v0.3.5↗ docs - riskdrawdownCap
hard pause if equity curve breaches threshold.
v0.3.3↗ docs - riskpositionLimit
per-leg and aggregate notional caps.
v0.3.0↗ docs - riskcorrelationLock
reject trades that raise portfolio ρ above θ.
v0.2.7↗ docs - riskkellyFraction
fractional-kelly sizing from edge estimate.
v0.2.2↗ docs - rebalancetimeRebal
re-weight on a fixed cadence (1h…7d).
v0.3.4↗ docs - rebalancethresholdRebal
re-weight when drift exceeds a band.
v0.3.2↗ docs - rebalanceinverseVolWeight
allocate inversely proportional to σ.
v0.2.6↗ docs - rebalanceriskParity
equalize risk contribution across legs.
v0.2.3↗ docs - exittrailStop
trailing stop activated past breakeven.
v0.3.6↗ docs - exittakeProfitLadder
scale-out across N tiers above entry.
v0.3.1↗ docs - exittimeInTrade
flat after a maximum hold duration.
v0.2.8↗ docs
snap a strategy together — right here.
tap or drag primitives from the palette into the stack. reorder with the arrows. 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