Strategy

Trend following ยท SP500, XYZ100 ยท Days

Iguana

XYZ Macro Index Trend

Trades only the two broad stock-market indices (S&P 500 and the XYZ 100).

How it works

Every few minutes it checks which index has the bigger 4-day move; if that move is large enough it goes that way (up = long, down = short), bets bigger when the move is strong and volume is rising, and then trails a stop. The simplest stock-market exposure on Hyperliquid โ€” no individual stocks.

  1. Watches

    SP500, XYZ100

    Every 5 minutes

  2. Enters

    Trend following

    Trades broad indices (SP500, XYZ100).

  3. Sizes

    20% of its balance as margin

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

  4. Exits

    4-step trailing lock

    Stops opening trades for the day after a 12% loss

The technical version

IGUANA โ€” two-asset XYZ macro index trend-follower (xyz:SP500 + xyz:XYZ100, HIP-3 DEX). Each tick computes the 4-day trend strength (% change over the last trendLookbackBars 4h candles) for each index, picks the stronger move past minTrendPct, and emits in its direction. Score 3 base + 2 if |trend| >= strongTrendPct + 1 if 4h volume rising > 15%; floor minScore 4. Held-asset and recent-signal dedup. Flat sizing: marginPct 20% of withdrawable, leverage clamped to maxLeverage (5x). DSL is the ONLY exit (balanced Phase 1 + Phase 2 ratchet; first lock tier REACHABLE at +5% ROE; 48h hard_timeout for XYZ weekend pricing-gap risk; 8h weak_peak_cut bails flat-but-tired positions before the weekend gap). The simplest possible XYZ equity exposure โ€” closest thing to an index fund, but 24/7. Faithful port of the v2 thesis. ONBOARDING TIER.

Senpi read

The idea

You want broad stock-market exposure on Hyperliquid without picking individual stocks, commodities, or pre-IPO names. Two liquid index instruments, one decision per tick: trend-follow whichever index has the clearer 4-day direction.

Read the full reasoning

The edge is in the slow index drift, so a wide DSL rides it for days and a 48h hard-timeout caps the XYZ weekend pricing-gap risk.

Where it can go wrong

  1. Trendless markets and sharp reversals. It gives back part of a move before the trail closes it.
  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.2.1

What it trades

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

Sizing

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

Protection

Profit lock
4 steps, from +10% on margin

4-step trailing lock. The first step keeps 40% of the peak once a trade is up 10% on margin (about 3.3% in price at 3x)

See the chart โ†“
Daily loss limit
Stops opening trades for the day after a 12% loss
Drawdown halt
Pauses after its balance falls 20% from its peak
New trades a day
At most 2
Losing streak
After 3 losses in a row, waits 90 minutes

The profit lock

4 steps

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

0%25%50%75%100%keeps 40%keeps 85%ROEprice+10%3.3%+20%6.7%+30%10%+40%13%+50%17%+60%20%
See all 4 steps
When the trade is up
on margin
Price move
at 3x
The stop keeps
+10%โ‰ˆ3.3%40% of the peak
+18%โ‰ˆ6.0%60% of the peak
+30%โ‰ˆ10.0%75% of the peak
+50%โ‰ˆ16.7%85% of the peak

Versions

1 version

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

IguanaOriginal

Trades only the two broad stock-market indices (S&P 500 and the XYZ 100).

XYZ Macro Index Trend

Make it yours

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

FAQs

What is the Iguana strategy?

Iguana is a trend following strategy for Hyperliquid. Trades only the two broad stock-market indices (S&P 500 and the XYZ 100).

What does Iguana trade?

SP500, XYZ100. 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 Iguana 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 Iguana'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.

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.