# Infinity Trailing

> *This is not a formal documentation — yet. These are our internal notes and best practices for using Infinity Trailing Algos effectively. Full docs coming soon*

### What is Infinity Trailing bot?

Infinity Trailing (InfTrail) is a powerful bot — deceptively simple, but surprisingly versatile.

At its core, it’s just this:

* A trailing order to enter a position
* Followed by a trailing order to exit that position

That’s it. But depending on how you configure the trailing distances, volatility exposure, and exit logic, you can use InfTrail to:

* Ride big uptrends and lock in profits on the way up
* Catch fast swings in either direction
* Accumulate spot tokens you want to HODL
* Create a pseudo-grid strategy with built-in profit protection

So here’s what we think you should know (besides getting a grip on [Trailing orders](/sex-trading/manual-orders/trailing-stops.md)) before you launch your first InfTrail:

### ⚠️ Quick start: what NOT to do

* Do NOT run it in falling markets — it will almost certainly lose money.
* Do NOT use it on illiquid tokens — slippage will eat your gains.
* Do NOT expect profits in flat markets — this is not a scalping bot.

This Algo is designed for trends — ideally sharp upswings or strong volatility.

***

### ✅ Quick start: what to do

* Run it in trending or volatile markets (think: breakouts, not chop).
* Pick liquid pairs — especially majors (BTC, ETH, SOL, etc.).
* Use larger trailing distances — this is *crucial*. A too-tight trail will churn and lose money.
* Tune your trailing distances based on the asset’s volatility. A good rule of thumb: blue chips (BTC etc.) – at least 1%+, high-vol meme coins: 3%–10% or even more.
* :exclamation: Be patient — InfTrail will often drip small losses before catching a big move and making it all back (and more).

***

### Choosing your strategy: two InfTrail modes

There are effectively two modes you can run your InfTrail in, based on whether you set the "Only exit position at a profit" toggle ON or OFF:

#### Exit at a loss: allowed (*“only exit at a profit” = OFF)*

This is the default InfTrail mode. It will:

* Enter a position with a trailing buy/sell
* Exit that position with a trailing sell/buy — even if that exit is at a loss

When does this work best?

* When markets are volatile and you expect big moves in either direction
* When you want to catch swings, not hold through them
* When you’re not afraid of small losses in exchange for catching the big ones

#### How to think about it and what to expect?

Let’s say you use 1% trailing for both entry and exit. Then:

* The bot will ignore all moves < 1%
* It will lose money on moves between 1–2%
* It will make money on any move >2%

This is just how trailing orders work. So, here is a key takeaway:

> You want to set trailing distances larger than the normal noise of your pair

**PRO tip:** initially launch multiple InfTrails with different trailing distances (0.5%, 1%, 3%, 5%, 10%) on the same pair. Run them for some, then stop the losers — and let the winners run.

#### Exit at a Loss: NOT allowed (*“only exit at a profit” = ON)*

> aka “HODL Mode”

In this mode:

* The bot will enter normally with a trailing buy/sell
* But it will only exit at a profit.\
  Specifically, it will only activate the exit order (it will start trailing) if price moves in your favor to at least: entry price + exit trailing distance.&#x20;

This ensures that in the worst case scenario (the price moving against you right after the exit order start trailing), the exit order will be sent to the excange at your entry price. This can actually result in small loss (consider trading fees + slippage) - but you'll exit around the entry price anyway.

:exclamation:You have to understand, that in this mode, if the price improves, the bot might be left holding the position forever. If you trade with leverage - it might lead to liquidation.

When does this make sense?

* When you’re trading spot, not derivatives
* When you’re comfortable holding the asset for longer

### ⚠️ Important caveats

* This mode does not have a Stop Loss yet — we plan to add one in a future update.
* Do NOT run “only exit at profit” ON with derivatives. You’ll get liquidated if price drops and the bot never exits.

#### **Base currency fees on spot**

> **⚠️ Spot trading: watch out for trading fees taken in the base coin**
>
> On most spot exchanges (e.g. Binance by default), the trading fee is taken directly out of the coin you just bought. So if your bot's order size is 1 BTC, a buy fills you with \~0.999 BTC — the missing 0.001 BTC is the fee. When the bot later tries to sell exactly 1 BTC, it fails: you only have 0.999, and the order is rejected as "insufficient funds."
>
> Two ways to handle it:
>
> * **Keep a small extra balance of the base coin** in your account, above what the bot strictly needs.
> * **Or enable native-token fee payment** on your exchange (e.g. hold some BNB on Binance and turn on "Pay fees in BNB"). Fees then come out of that token, leaving your traded coins whole. Note: confirm your exchange supports this for API orders specifically — for example, Bybit currently allows it only for orders placed via the exchange's own interface.
>
> This only applies to **spot**. On perpetual futures, fees are paid in the settlement currency (e.g. USDT) and don't affect order sizes.

***

### 🧪 InfTrail in practice: what worked for us

Here are some real setups our team has run when we first launched the bot:

* SHIB/USDT — May 2021 — top of the bull market & SHIB = main memecoin
  * Trailing Distance: 10%
  * Market was crazy — 20–30% daily swings
  * Huge profits
* BTC/USDT — 2021 bull run (May -> November)
  * Trailing Distance: 1%
  * Ran profitably for 6+ months
* BTC/ETH with “only exit at profit” ON (2023–2025)
  * As we have no opinion on whether BTC or ETH wins in the long run and HODL both
  * Treating InfTrail like a HODL bot that sells at highs and rebuys after pullbacks

***

### 💡 Pro Tips

* 🧠 Trail distance = your filter for market noise. Set it too low and the bot will get whipsawed.
* 🧪 Try different distances on the same asset — and stop the ones that underperform.
* ⛽ Account for fees and slippage — you still pay them even if the bot avoids closing at a loss.
* 🐌 Don’t expect instant results — it often loses small before it wins big.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.goodcrypto.app/sex-trading/bots/infinity-trailing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
