hypebot — xyz:ANT
xyz:ANT · Perp Momentum Short vs MA Gradient Flip vs MA Gradient Flip + Trend · 5m bars · paper portfolios
Perp Momentum Short — price, baseline and gap
window
MA Gradient Flip — price, MA and slope
window
MA Gradient Flip + Trend — price, MA, 24h trend and slope
window
Equity — enabled paper strategies
Perp Momentum Short
MA Gradient Flip
MA Gradient Flip + Trend
window
controls
Perp Momentum Short is a paper-only short on the HYPE perp, so a held position also pays or collects funding. It sells a rip of rip_pct or more above the baseline, but only while the trend is not rising faster than trend_slope_max_pct_per_hour - chasing a spike is how a short gets run over - and it waits out cooldown_bars after every exit. Covers are the maker take-profit at take_profit_pct first, then the intrabar stop_loss_pct stop on the high, then a breakdown of the close back below the baseline. Measured over the 208-day 1h perp window it returned -25.62%, so it is documented as a losing experiment, not an edge.
Constraints
trend_ma_bars >= baseline_ma_bars— The trend filter must be at least as slow as the baseline it gates.rip_pct > 0— A rip is a close above the baseline; a non-positive value is not a rip.take_profit_pct > 0— A profit target must sit in the money.stop_loss_pct <= 50— Synthetic trailing-stop signal params may lock in profit past entry.trail_pct >= 0— A trailing distance is non-negative; zero disables trailing.trail_min_step_pct >= 0— A minimum trailing move is non-negative; zero moves on any improvement.
MA Gradient Flip is a paper-only bidirectional strategy on the HYPE perp, so a held position also pays or collects funding. It opens LONG on a confirmed up-turn of the slope and SHORT on a confirmed down-turn, and reverses in place at the bar close when the opposite turn clears min_slope_pct. Exits are the intrabar stop_loss_pct touch first (below entry for a long, above for a short), then the reversing turn; a stop ends the run flat rather than flipping. Measured over the same 208-day 1h perp window it returned -2.27% against the long-only gradient's +30.92%, so its short leg has no demonstrated edge.
Constraints
stop_loss_pct <= 50— Synthetic trailing-stop signal params may lock in profit past entry.trail_pct >= 0— A trailing distance is non-negative; zero disables trailing.trail_min_step_pct >= 0— A minimum trailing move is non-negative; zero moves on any improvement.
MA Gradient Flip + Trend is a bidirectional strategy on the HYPE perp. It is the default active live-perp strategy behind PERP_TRADING_ENABLED and also runs as a paper/backtest portfolio. It uses the MA Gradient Flip's slope signal, but only opens LONG while the close is above its trend_bars moving average and only opens SHORT while it is at or below it. A confirmed turn against the trend closes the trade to FLAT instead of reversing, keeping the arm for a later trend-aligned entry. Exits are the intrabar stop_loss_pct touch first, then the confirmed turn.
Constraints
stop_loss_pct <= 50— Synthetic trailing-stop signal params may lock in profit past entry.1.0 <= leverage <= 10.0— Leverage below 1 is undefined and above the venue's 10x cap cannot be set.trail_pct >= 0— A trailing distance is non-negative; zero disables trailing.trail_min_step_pct >= 0— A minimum trailing move is non-negative; zero moves on any improvement.
Initial equity $10,000, maker 0.04% /
taker 0.07% fees, frozen to match the paper portfolios.
Sizing: fixed notional = entry_frac × equity (leverage moves only margin and
liquidation distance); fixed margin = the dollar baseline × leverage (the live perp rule).
Parameters are in-sample tuned; a good lab result is a hypothesis, not proof.
Composition
Open position at window end
Signal metric
Equity — tuned vs default parameters
tuned
defaults
Price & trades
Trades
Run a backtest to see its trade log.