Some of your trading strategies would require to place bets or execute bots on all market selections. There are two options you can use depending on what you want to achieve:
1) To use the bot: Execute on Selections
2) To use the custom bot trigger: ExecuteOnAllSelectionAtXTicksFromOfferedPriceBotTrigger.fs (Download the script.)
Keep in mind that bets are placed by your action bots, so if you want to cancel an unmatched bet placed by your bot you must stop bot execution and unmatched bet is cancelled automatically.
Basically you can use any bot to be executed, so instead of placing a bet, a trading transaction can be executed.
When using bot trigger for the first time, your bot trigger is compiled and then the code is executed, so the first bot trigger execution takes more time.
The above bot trigger is designed to require using the “Use Ladder” settings, the way you execute selected bot in My Bots view by clicking on a ladder. In this case it is actually requirements, because bot checks where you clicked on ladder, and offers on all selections a bet exactly x ticks of the best offered price, as you clicked on the ladder.
In my video, I clicked to offer back bet 5 ticks up the current best back price on each market selection.
If you click to take a bet, then bot actually does not place a bet immediately, but will be instructed to take the bet when best offered price/odds reached your clicked price/odds on a ladder.
If you are familiar with bot development then you can take a look on the bot trigger source code, and build your own one. For instance it would be interested not to execute a bot execution on clicked ladder, but on other selections only.