This tag is the top parent tag. There is only one <strategy> tag for each strategy.
CONFIGURATION FRAME ATTRIBUTES
From the version 2.0 Ipposnif allows the user to change the properties of a strategy from the Configuration Frame and without entering the code.
The Configuration Frame is shown when the user double clicks on a strategy from the strategy window
The attributes of the <strategy> tag name, description and capital are mandatory and cannot be hidden.
The Configuration Frame is composed by a combination of the following blades. Their visibility is controlled by the attribute visible_blades.
ATTRIBUTES FOR CONTROLLING THE NUMBER OF TRADES
In most of the cases you can use the blade "count_of_bet" to manage the number of trades in a strategy. If this blade doesn't cover your needs you can use directly the following properties to achieve your goal.
A trade can have one of these statuses: O=open F=closed C=cancelled S=settled
ATTRIBUTES FOR CONTROLLING THE VISIBILITY OF THE BETTING FRAME
The betting frame is shown when the user clicks on the columns "Back", "Lay" or "Input 3" from the runner grid in the Market window.
ATTRIBUTES FOR PRE-FILTERING THE MARKETS
It is ideal to make use of more than one of these attributes. This will limit the processors effort when computing the conditions for the bets placement.
These attributes are automatically managed by Ipposnif when you add the blades: back_odd_range, lay_odd_range, betting_time_range.
In most of the cases, the reset functionality of a strategy, can be managed adding the blades max_reset and reset_levels.
If you have a special condition to reset a strategy, and it is not covered by the blades, then you must specify this condition in the attribute reset_condition.
Please consider that the maximum amount the strategy can lose is its capital multiplied by max_reset+1. The default value for max_reset is 0.