HybirdSell-ExecuteFlow

In TurboFire, sell order will be triggered by these types:

  • by address:

    • toggle on dev sell and his sell ratio reached conf ratio, auto sellout

    • toggle on smart money sell and sell the same ratio as you bought

    • toggle on smart money sell and his sell reach sellout ratio, auto sellout

  • by price:

    • price higher than stop profit price, auto execute stop profit sell

    • price lower than stop loss price, auto execute stop loss sell

    • price lower than retracement price, auto execute retracementSellout

  • by time:

    • if you configed 1st inactivity seconds, and then timestamp reach, will auto sell the 1st tier of all stopProfit tiers.

    • if you configed 2nd inactivity seconds, and then timestamp reach

      • 2nd inactivity sell mode is sell tier 1by1: intervally auto sell one tier of the stopProfit tiers

      • 2nd inactivity sell mode is sell out all tiers: sellout all tiers of the stopProfit tiers at one-time.

  • by migration:

    • if you toggle on auto sellout when mig, when migration from pumpFun to pumpAmm happened, then will auto sellout that tokens.

Assume you config all types above, the execute flow below:

  • By migration runs parallel with other trigger types, and will not affect each other.

  • By time and By price(stop profit price type) maybe affect each other:

    • The effet to inactivitySell after execute profitSell:

      • when inactivitySell task start but not reached the excute timestamp, if stopProfitSell trigger during this time

        • 1st inactivitySell task will auto stop

        • 2nd inactivitySell task will be reset:

          • the execution time will reset to: now timestamp + 2ndInactivitySeconds

    • The effect to profitSell after execute inactivitySell

      • the 1st tier of stopProfit tiers will auto removed after 1st inactivitySell task execute finished.

      • the 2nd inactivitySell task

        • if mode is sell 1by1: each time task execute finished, stopProfit tiers will reduce one.

        • if mode is sellout all tiers: only execute once, all stopProfit tiers will be removed.

  • By address and By Price execute flow:

    • a. firstly check dev sell

    • b. then check smart money sell

    • c. finally check price

      • check retracementPrice first

      • then check stop profit or stop loss price

    • If any of a.b.c triggered, subsequent price detection will not be performed again this time.

  • Because HybirdSell mode maybe cause 2 problems:

    • The sell quantitiy greater than you hold

    • Or you don't have any tokens when sell task triggered

  • So:

    • After any type of sell triggered, if need sell amount greater than your hold amount, auto use hold amount as sell amount.

    • After any type of sell triggered, if your current hold amount is 0, will stop sell and send notification message to you.

Last updated