Create a DeFi Rule
Last updated
Last updated
Start by ensuring that your Smart Account is set up and you have funded your Smart Account. Then using the Coinrule interface, you can easily create and launch rules to automate trades on the selected blockchain to automate your trading!
From the dashboard, click 'Create Rule', this will take you to the rule editor.
Select the exchange/network you would like the rule to run on, you can check the available balance on the exchange once you have selected one.
Then, you can start specifying the conditions that you would like in place for the rule to trigger.
Once you have selected the condition, it's time to define an action or multiple actions that the bot will execute once the condition is met. When using your smart account, you have the ability to set two additional parameters for actions that are specific to DeFi: 'Max Gas Price' and 'Max Slippage'.
These fields allow you to define the maximum transaction fees you are willing to pay and the acceptable price deviation during execution, for better control over your trades in the more volatile DeFi environment.
Once you have set up the first execution, you can create a more advanced rule by adding an operator. The operator is representative of a logical connection between different blocks within one rule. There are five operators that are available to use when using Coinrule, providing versatility and fluidity to create any trading plan desired.
Lastly, you can set the time you would like to Launch the rule, and how many times you would like the rule to be executed. It is of utmost importance to avoid overtrading by setting a limit of executions within a timeframe.
You are now ready to create your first rules!
You may find it useful to have a look at our best-performing templates.