<place>

This tag defines the place method of a bet. It is a child of the tag <bet>. One and only one <place> tag must be present in a tag <bet>. When the place condition is verified the bet is created. Only one bet can be created by one <bet> tag. All the other eventual bets placed with other <bet> tags, will be included in this trade.

ATTRIBUTES:
condition (string)Sql assertion. When it is true the bet is placed.
price (string)Sql expression returning the price of the bet. It must return a decimal value from 1.01 to 1000.
size (string)Sql expression returning the size of the bet. If the type of the bet is * (jolly) the sign of this value determines the type of the bet. If positive the bet will be back type, if negative the bet will be lay type. If the size amount is negative, it will be converted in positive before the bet placement.
offset_min_price (string)Sql expression returning the minimum offset for the price value. So if the price is lower than the minimum offset it will be adjusted to the value of the minimum offset.
offset_max_price (string)Sql expression returning the maximum offset for the price value. So if the price is greater than the maximum offset it will be adjusted to the value of the maximum offset.
offset_min_size (string)Sql expression returning the minimum offset for the size value. So if the size is lower than the minimum offset it will be adjusted to the value of the minimum offset.
offset_max_size (string)Sql expression returning the maximum offset for the size value. So if the size is greater than the maximum offset it will be adjusted to the value of the maximum offset.
close_trade_oncreate (n|y)Specify if the trade must be closed immediately after the bet is placed. Default is n.
close_trade_onmatch (n|y)Specify if the trade must be closed when the current bet is matched. Useful to free slots in strategies that manage multiple trades on same race or same horse.
remove_check_onmatch (n|y)Specify if the check manually applied to the horse must be removed after the bet is fully matched. This is useful, for example, in manual in-play strategies: removing the check, it allows the operator to launch a second trade on the same horse.
remove_check_oncreate (n|y)Specify if the check manually applied to the horse must be removed after the bet is created.
clear_custom_1_onmatch (n|y)Specify if the custom values 1, manually inserted for the horse, must be wiped out after the bet is fully matched.
clear_custom_2_onmatch (n|y)Specify if the custom values 2, manually inserted for the horse, must be wiped out after the bet is fully matched.
clear_custom_3_onmatch (n|y)Specify if the custom values 3, manually inserted for the horse, must be wiped out after the bet is fully matched.
clear_custom_1_oncreate (n|y)Specify if the custom values 1, manually inserted for the horse, must be wiped out after the bet is created.
clear_custom_2_oncreate (n|y)Specify if the custom values 2, manually inserted for the horse, must be wiped out after the bet is created.
clear_custom_3_oncreate (n|y)Specify if the custom values 3, manually inserted for the horse, must be wiped out after the bet is created.
write_custom_1_oncreate (n|y)Specify if the custom values 1, must be overwritten with the size and price of the bet after the bet is created.
write_custom_2_oncreate (n|y)Specify if the custom values 2, must be overwritten with the size and price of the bet after the bet is created.
write_custom_3_oncreate (n|y)Specify if the custom values 3, must be overwritten with the size and price of the bet after the bet is created.