📈 Strategy Setup Tutorial
This document provides a comprehensive guide on setting up and managing trading strategies using Traderino. A trading strategy is a pair made from an alert which also has some associated settings to specify how to handle trades.
The settings parts is optional, so if you are here because you need to set multiple alerts you can keep reading as well. In your strategies, leave auto buy to off and you can ignore the settings part, resulting in a strategy that will just send you the alert.
1. Strategy Structure
A strategy is composed of two main components:
- Alert: Defines the conditions for triggering the strategy. (mandatory)
- Settings: Specifies the parameters for executing trades. (optional)
The strategy is specified in JSON format as the following example:
{
"alert": {
"name": "unique_strategy_name",
"minMarketCap": 35.0,
"maxTokenAgeSeconds": 2400.0,
"devSoldAny": false
},
"settings": {
"displayCurrency": "SOL",
"betSize": 0.135,
"jitoTip": 0.00001,
"prioFee": 0.00002,
"slippage": 25,
"sellSlippage": 15,
"maxTradeDurationSeconds": 106000,
"maxTradeDurationProfit": 106000,
"takeProfit": 2.6,
"stoploss": -0.69,
"sellWithDev": 0,
"closeIfIdleProfitSeconds": 2800,
"maxOpenTrades": 200,
"closeIfIdleSeconds": 2800,
"exitStrategy": {
"actions": {
"tp:2": 0.25,
"tp:3": 1,
"every-higher:600-280": 0.05
}
},
"useRaydiumConfirm": true,
"trailingStop": {
"minProfitTrigger": 0.5,
"maxDrop": 0.20
}
}
}
2. Adding a Strategy
To add a strategy, use the command:
/addstrategy $STRATEGYJSON
Replace $STRATEGYJSON
with your strategy's JSON configuration.
Example 1 – Add a strategy without setting to only use the alert
/addstrategy {
"alert": {
"name": "unique_strategy_name",
"minMarketCap": 35.0,
"maxTokenAgeSeconds": 2400.0,
"devSoldAny": false
}
}
Example 2 – Strategy with parameters
/addstrategy {
"alert": {
"name": "unique_strategy_name",
"minMarketCap": 35.0,
"maxTokenAgeSeconds": 2400.0,
"devSoldAny": false
},
"settings": {
"displayCurrency": "SOL",
"betSize": 0.135,
"jitoTip": 0.00001,
"prioFee": 0.00002,
"slippage": 25,
"sellSlippage": 15,
"maxTradeDurationSeconds": 60,
"maxTradeDurationProfit": 60,
"takeProfit": 2.6,
"stoploss": -0.69,
"sellWithDev": 0,
"closeIfIdleProfitSeconds": 2800,
"maxOpenTrades": 200,
"closeIfIdleSeconds": 2800,
"exitStrategy": {
"actions": {
"tp:1": 0.5,
"tp:2": 0.5
}
},
"useRaydiumConfirm": true,
"trailingStop": {
"minProfitTrigger": 0.5,
"maxDrop": 0.20
}
}
}
After you execute your /addstrategy
command, you will receive a confirmation message if the operation has been completed succesfully.
In any case, always use the /ls
command to check your strategy list and verify that the JSON has been ingested correctly.
Here's an example output of the /ls
command:

By clicking the button with the lens icon and the strategy name, the strategy JSON will be shown back to you to check its correctness.
3. Managing Strategies
Use /ls
to view all strategies. This command also provides options to activate, deactivate, or delete strategies.
If you need to modify one strategy you can just run the /addstrategy
command by providing a new strategy that has different
settings but the same name. If the name matches, the new strategy will replace the old one.
Remember to run the /ls
command after you replace one strategy in case you need to activate it again.
4. Exit Strategy and Trailing Stop
The exitStrategy
allows for partial take profits and periodic sales. The trailingStop
feature ensures trades are closed if profit conditions are met.
For example:
"tp:2": 0.25
– Sell 25% of the initial balance when profit reaches 200%."every-higher:600-280": 0.05
– Every 600 seconds, if the market cap exceeds 280 SOL, sell 5% of the initial balance.
5. Help
If you need any additional help, feel free to join our Telegram group and ask!