Skip to main content

Smart Sell

Reactive bots that monitor a pool in real time and automatically trade against it. A sell bot (eMode: "SELL", the default) sells a configurable percentage of any incoming buy; a buy bot (eMode: "BUY") does the opposite and buys a percentage of any incoming sell.

How it works​

  1. Client creates a Smart Sell bot pointing at a specific sPoolId.
  2. Client funds the bot's wallet(s). A sell bot needs the token to sell
    • a small SOL fee reserve; a buy bot needs SOL only.
  3. The bot reacts to every trade of the watched side (buys for a sell bot, sells for a buy bot) whose size is within [nMinSellAmount, nMaxSellAmount], trading back nSellPercent of that amount. Trades from whitelisted wallets are ignored. Transactions from your own volume bots are automatically skipped and never trigger a reaction. Each reaction is executed from a different wallet.

Quote token and amount unit​

The pool's quote can be SOL or any other token, as long as the quote has a pool to convert to SOL (otherwise create-bot answers 400). The size band (nMinSellAmount / nMaxSellAmount) is expressed in the unit set by eAmountUnit: SOL, USD, or QUOTE (the pool's own quote token). When omitted it defaults to SOL on SOL-quoted pools and USD on token-quoted pools. The smallest allowed nMinSellAmount is the equivalent of 0.1 SOL in the chosen unit.

Endpoints​

Lifecycle​

Reads​