Strategy

Momentum ยท BTC, ETH, SOL, HYPE ยท Days

Marlin

Order-Book Imbalance Momentum

Looks at how much resting buy vs sell interest is stacked in the order book of the big, liquid coins.

How it works

A heavily one-sided book signals pressure in that direction โ€” but a lopsided book alone is noise, so it only acts when short-term price momentum and the traders leading the last four hours are pointing the same way. Then it holds the trade with a wide trailing stop instead of flipping in and out.

  1. Watches

    BTC, ETH, SOL, HYPE

    Every 3 minutes

  2. Enters

    Momentum

    Trades order-book depth skew.

  3. Sizes

    15% of its balance as margin

    Up to 1 positions at once ยท up to 5x leverage

  4. Exits

    5-step trailing lock

    Stops opening trades for the day after a 15% loss

The technical version

MARLIN โ€” order-book imbalance momentum on liquid majors (BTC/ETH/SOL/HYPE). A persistent resting-depth imbalance in the L2 book is a near-term pressure tell: bids >> asks = buy pressure (LONG), asks >> bids = sell pressure (SHORT). Three hard gates, all required: book imbalance >= imbalanceMin on one side, 15m momentum confirms that side (>= momMinPct), and 4h leader momentum agrees with tilt >= smTiltMinPct (default 55%). Composite score (max ~9) with strong-imbalance, 5m-momentum, strong-SM, and volume-rising bonuses; floor minScore 5. Emits the single highest-scoring candidate per tick. Fixed margin 15% of withdrawable, leverage 4x (clamped to 5x max). DSL is the ONLY exit โ€” wide ratchet ladder (first lock at +10% ROE) + a 24h hard_timeout (the short-horizon outer bound). Faithful port of the v2 Marlin v1.0.0 thesis (all scoring/thresholds verbatim).

Senpi read

The idea

Order-book imbalance is a genuine microstructure edge, but trading it as a per-tick scalp just bleeds fees. Marlin uses the imbalance differently โ€” as the entry-timing signal on a momentum thesis: the book says which side has pressure right now, momentum and the 4h leaders' side confirm the move is real, and then you hold it with a wide ratchet and let it work.

Read the full reasoning

Restricting the universe to four liquid majors keeps the imbalance reading reliable (thin books give garbage ratios), and a 24h hard timeout caps the short-horizon thesis without choking a real run.

Where it can go wrong

  1. Choppy, sideways markets. Breakouts that fail reverse fast, and a momentum strategy pays for every false start.
  2. At 5x, a 20% move against a position erases its margin.
  3. One position at a time, so each trade is a large share of the balance.

The rules

Version 1.1.2

What it trades

Direction
Long and short
Positions at once
Up to 1
Typical hold
Days (swing)
Checks the market
Every 3 minutes

Sizing

Leverage
Up to 5x
Size per trade
15% of its balance as margin
Minimum to start
$25

Protection

Profit lock
5 steps, from +20% on margin

5-step trailing lock. The first step keeps 25% of the peak once a trade is up 20% on margin (about 5.0% in price at 4x)

See the chart โ†“
Daily loss limit
Stops opening trades for the day after a 15% loss
Drawdown halt
Pauses after its balance falls 22% from its peak
New trades a day
At most 4
Losing streak
After 3 losses in a row, waits 1 hour

The profit lock

5 steps

As a trade gains, the stop locks in a bigger share of its best level, and it only moves up. At +20% on margin it keeps 25% of the peak; by +100% it keeps 85%.

0%25%50%75%100%keeps 25%keeps 85%ROEprice+25%6.3%+50%13%+75%19%+100%25%
See all 5 steps
When the trade is up
on margin
Price move
at 4x
The stop keeps
+20%โ‰ˆ5.0%25% of the peak
+30%โ‰ˆ7.5%40% of the peak
+50%โ‰ˆ12.5%60% of the peak
+75%โ‰ˆ18.8%75% of the peak
+100%โ‰ˆ25.0%85% of the peak

Versions

1 version

Same idea, tuned differently. Each is its own fork.

MarlinOriginal

Looks at how much resting buy vs sell interest is stacked in the order book of the big, liquid coins.

Order-Book Imbalance Momentum

Make it yours

Your fork carries your name. Changing it never touches the original or anyone else's fork.

FAQs

What is the Marlin strategy?

Marlin is a momentum strategy for Hyperliquid. Looks at how much resting buy vs sell interest is stacked in the order book of the big, liquid coins.

What does Marlin trade?

BTC, ETH, SOL, HYPE. Long and short, up to 5x leverage, holding for days.

How much do I need to start?

$25 is the minimum. You choose the amount when you fork it, and you can add more later.

Can I change how Marlin works?

Yes. A fork is your own copy: ask your agent to change the markets, leverage, sizing or exits and it rewrites the rules for you.

Why doesn't Senpi show Marlin's returns?

Every fork runs with its owner's money and settings, so no single return describes it. Backtests aren't shown either: they're fitted to the past. Start small and watch it trade.

Similar strategies

All momentum strategies

Take the read with you

The same read, refreshed on demand, in the Senpi Companion for Chrome, the app, and your own agent through Connectors.

Strategies are starting points, not advice. Trading perpetual futures with leverage can lose the money in a strategy.