Skip to main content
All CollectionsGet Started
Executions on Coinrule
Executions on Coinrule

Understanding Execution Options on Coinrule

Reni Asumah avatar
Written by Reni Asumah
Updated over a week ago

Overview

Executing trades efficiently and effectively is crucial for successful automated trading. Coinrule offers two distinct execution options to cater to different trading strategies and needs: "In Total" and "But Not More Than". Understanding these options will help you better configure your rules and maximize your trading potential.

Execution Options

1. In Total

The "In Total" option allows you to specify a total number of executions for your rule. For example, you can set a rule to execute 10 times in total. This option is particularly useful when you have a specific target number of trades in mind.

How It Works:

  • When you set a rule with the "In Total" protection, the frequency of rule execution is determined by the specified candle interval.

  • This means that the rule will check for conditions and execute based on the candle's timeframe (e.g., 1-minute, 5-minute, 1-hour candles).

  • If the conditions are met within the timeframe of the specified candle, the rule will execute.

Example:

If you set a rule to execute 10 times in total with a 5-minute candle interval:

- The rule will evaluate conditions at the end of each 5-minute candle.

- If the conditions are met, the rule will execute and keep doing so every 5 minutes.

- This process continues until the rule has executed 10 times in total.

2. But Not More Than

This feature allows users to fine tune their automated trading strategies by setting a specific frequency limit on their buy orders. When using 'not more than once per x', the rule engine ensures that the first action, which opens a position, is executed no more than once within the designated timeframe.

As mentioned above, 'Not more than once per x' feature only considers the first action (in the first block), meaning when opening the position. The reason behind this is explained below:

  • the exit condition(s) are designed to trigger as soon as they are met - any unintended limitation could cause much bigger damage; and

  • it's next to "execute X times" - that also does not mean there will be 500 trades in total. It means the rule will open a position 500 times, that is 1,000 trades (buying and selling).

Essentially, when the conditions of the second action (i.e. the exit condition) is TRUE, by design the rule will trigger without taking into consideration 'but not more than x'.

Important Tip: It is advisable to set "not more than once per X" ideally with the same period as is used in conditions.

However, if there are more periods selected, for example, using the timeframes below i.e. 5 minutes and 15 minutes, when setting 'not more than once per x' users should use the smaller timeframe i.e. 'not more than once per 5 minutes', which is the smallest timeframe selected in those conditions. This setup protects users and allows the rule to buy at every shortest candle used in any related condition.


Conclusion

Understanding and correctly using the execution options on Coinrule can significantly enhance your trading strategy. By selecting the appropriate option, you can ensure that your rules execute in a manner that aligns with your trading objectives and risk management preferences.

For more detailed guidance or specific use cases, visit the Coinrule Help Centre.

Did this answer your question?