To use created task, make sure to move solswap_example from EXAMPLES TO TASKS
How strategies work?All calculations are based on BUY MARKET CAP and DON’T DEPEND on position value.Example: If your BUY MC IS 100K and TP 100% bot would sell on 200K MCAP
General info:
To use strategies in task, you need to setup strategy file and give it name (example: copytrade-test)
To use MULTIPLE STRATEGIES add new lines
TP
SL
Timeout
Dev Sell
Inactivity
Trailing SL
TP PERC
Take profit percentage to execute sell.TP PERC TO SELL
Percentage of your position to sell on trigger.For SOL you can also specify EXACT MARKETCAP instead of percentage.Format example:
TP PERC - 10000$ OR 10k$ OR 10m$ for exact marketcap trigger.
For Polymarket you can also specify EXACT SHARE VALUE instead of percentage.Format example:
TP PERC - 0.9$ means sell transaction will be executed when onchain price hits 0.9$.
SL PERC
Stop Loss percentage to execute sell.SL PERC TO SELL
Percentage of your position to sell on trigger.For SOL you can also specify EXACT MARKETCAP instead of percentage.Format example:
SL PERC - 5000$ OR 5k$ OR 5m$ for exact marketcap trigger.
For Polymarket you can also specify EXACT SHARE VALUE instead of percentage.Example:
SL PERC - 0.1$ means sell transaction will be executed when onchain price hits 0.1$.
TIMEOUT MS
X milliseconds to proceed sell afterTIMEOUT PERC TO SELL
Percentage of your current position to sell
DEV SELL PERC
Percentage of dev’s position sold that will trigger sellDEV SELL PERC TO SELL
Percentage of your current position to sell
INACTIVITY TIMEOUT MS
Time in milliseconds to check activity on specific token.INACTIVITY PERC
Movement percentage to determine as inactivity range (both positive and negative price change).INACTIVITY PERC TO SELL
Percentage of your current position to sell on strategy trigger.In order to properly detect inactivity you need MULTIPLE ticks of position update interval during inactivity timeout. More updates you have - better detection!
Trailing stop loss explanation
This strategy uses ATH which was detected while your position is monitored. If your current position is X (trailing stop loss percentage) down from ATH - bot will sell Y (trailing stop loss percentage to sell) part of your position. Mostly used for mooners in case they are going to 0.
TRAILING SL PERC
Trailing stop loss percentageTRAILING SL PERC TO SELL
Percentage of your current position to sell