# Set up trading rules

### **What are the rules?**

You can formulate any strategy you need using predefined rules. These rules specify the details of what, how much, and with what profit to execute buy/sell actions. Sampo monitors the market 24/7 and identifies the optimal moments for buying/selling (using the [Smart Buy module](https://docs.sampoprotocol.com/autopilot-mode/how-it-works/smart-buy-module)).&#x20;

Each rule consists of 7 parameters:

1. **Pair** - the trading pair to engage in. You can set any token pair with USDT, for example, "BTCUSDT" or "ETHUSDT."
2. **Lot** - the amount of each purchase in USDT. The lot must exceed 10 USDT.
3. **Sell** - the percentage of the position that will be sold at each sell signal.
4. **Limit** - the maximum position size in USDT.
5. **Profit** - the minimum profit percentage required for a sale (Profit="1" indicates a sale only if profit >= 1%).
6. **Buy more** - the threshold for position averaging (Buy more="1" implies buying only if average position profit <= **-**&#x31;%).
7. **Period** - the time interval between purchases in minutes.

For example, the rule with the following parameters: `Pair=BTCUSDT, Lot=15, Sell=50, Limit=1000, Profit=1, Buy more=3, Period=60` - signifies:

* When Sampo detects a buy signal for BTC, it will acquire BTC for 15 USDT (**Lot**) provided the total purchase amount remains below 1000 USDT (**Limit**), and the previous purchase occurred no earlier than 60 minutes ago (**Period**), considering an average profit lower than -3% (**Buy more**).
* Subsequently, when Sampo identifies a sell signal for BTC, it will sell 50% of the present position size (**Sell**) if the profit equals or surpasses 1% (**Profit**).

### **FAQ**

* Sampo can generate trade signals as frequently as once per minute, so please consider this when setting your limits
* All sales are executed exclusively with a profit, disregarding the exchanges' commissions.
* You have the ability to establish numerous accounts within Sampo and configure distinct strategies for a single pair.
* If you're uncertain about which pair to trade, consider starting with BTC or ETH, or explore the top cryptocurrencies by market capitalization.
