Rules

Updated on 2024-07-25

A rule is a container of conditions and actions. Each strategy can contain multiple rules.

Rule Name
A rule has a name that can be defined either by accessing the "Edit" command or by using the "Rename" command by right-clicking on the rule node itself.



Rule Status (Active / Inactive)
Each rule can be activated or deactivated by selecting the corresponding checkbox in the strategy tree. Deactivating a rule allows you to temporarily prevent it from functioning and then reactivate it later without having to delete and recreate it.

By double-clicking on the rule node, right-clicking and choosing "Edit" from the dropdown menu, or clicking the "Edit Rule" button on the Strategy Manager toolbar, you can access the rule's parameters.



Start / Stop Time Conditions
A rule may or may not have time conditions that define the window of time during which the rule is operational:

  • Start Condition: specifies the exact time the rule starts being executed. If no start condition is specified, the rule activates immediately when the strategy is started.
    This time can be:
    - a fixed time
    - a time relative to the start of the event, before or after it
    - a time relative to when the market goes "in-play"
    - a time relative to when the market reopens after a suspension
    - a time relative to the first execution of a rule in the strategy
    - a time relative to when the strategy was started
  • Stop Condition: specifies the time when the rule stops being executed. Questo tempo può essere indicato in vari modi come il tempo di avvio.

Per la valutazione dei tempi di avvio / stop viene utilizzato l'orario del PC di esecuzione, assicurarsi che questo sia settato correttamente.

Number of Executions
The execution of the rules is also regulated by two additional parameters:

  • the number of times the rule is executed, after which the rule is stopped. The number of executions can also be set to "unlimited," and the rule will continue to be executed until the strategy is stopped or the start/stop conditions dictate otherwise
  • the wait time after each execution: It is possible to set a minimum wait time between one execution and the next.


Still need help?

Submit a ticket and we’ll get back to you as soon as possible.