tula — open-source crypto liquidation risk and exposure CLI

· tula

3 min read Original article ↗

Only for the moment. Placing trades will come later.. Non-custodial.

Every venue weighs only what it holds. tula weighs what you hold.

Your true exposure, what breaks first, and more, across every venue at once.

tula/ctrl+sctrl+o

tula v0.4.2Your true exposure, what breaks first, and more, across every venue at once.~/tradingConnected: wallet, hyperliquid, aave, kraken❯ /exposureASSET      NET    NOTIONAL  VENUES                   AS OF
─────  ───────  ──────────  ───────────────────────  ─────────────────
ETH       6.64  $16,268.00  kraken hyperliquid aave  09:14:02 (4s ago)
BTC       0.12   $8,160.00  kraken                   09:14:02 (4s ago)
SOL         30   $4,350.00  kraken                   09:14:02 (4s ago)
USDC   3260.48   $3,260.48  hyperliquid wallet       09:14:02 (4s ago)
LINK       180   $2,556.00  wallet                   09:14:02 (4s ago)
ARB        900     $558.00  wallet                   09:14:02 (4s ago)
USDT       480     $480.00  kraken                   09:14:02 (4s ago)
OP         320     $464.00  kraken                   09:14:02 (4s ago)
UNI         60     $438.00  wallet                   09:14:02 (4s ago)

… 1 more line · ctrl+oEquity  $41,434.48❯ /breaksVENUE        ASSET  KIND        MOVE TO LIQ  TRIGGER              AS OF
───────────  ─────  ──────────  ───────────  ───────────────────  ─────────────────
aave         ETH    collateral       -27.0%  health factor 1.37   09:14:02 (4s ago)
hyperliquid  ETH    perp             +39.3%  liq price $3,412.00  09:14:02 (4s ago)

Ranked over what tula reads: aave and kraken each have an unread area that
could hold a liquidation of its own.
  /venues names them.

❯ ask anything · / for commands · ctrl+s to search them · ? for shortcuts

your book

❯ /breaks What gets liquidated first, and how far away that is

/exposure Net exposure per asset, across every venue

/position <asset> One position in full: entry, PnL, funding, margin

/positions [asset] Every position, as each venue reports it

/shock <asset> <percent> Reprice everything and see what survives

venues

/aave ● 1 position · 09:14:02 (4s ago)

/aave connect ● Add or replace this venue’s public address

/aave positions ● Positions held here

/aave breaks ● What can be liquidated here

/aave status ● Freshness and last error — there is no key to scope

42 more — keep typing to narrow it

4 venues · 12 positions · 09:14:02 (4s ago) · commands only

every line is shown · ctrl+o to collapse

The gap it fills

One asset, three venues

krakenETH spot +4.00

hyperliquidETH perp -2.00

aaveETH collateral +4.64

tulanet ETH 6.64, -27.0% to liquidation

Plain English

You can just ask.

Type a question instead of a command.

Sign in to a model for answers in plain English. Every command works without one.

tula

❯ what's my real ETH exposure, and what breaks first if ETH drops 20%?

Net long 6.64 ETH, $16,268.00 across kraken, hyperliquid and aave, as of
09:14:02 (4s ago).

A 20% fall takes your equity to $38,180.88, a change of -$3,253.60,
and nothing liquidates. Aave is closest: its health factor of 1.37
breaks at -27.0%. The hyperliquid short breaks if ETH rises 39.3%.

That ranking is over what tula reads. aave and kraken each have an area
it does not read that could hold a liquidation of its own — /venues names
them.