Article

Place Bet/Execute Bot on All Selections

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.

Comments ( 4 )


  • Edumadrid
    17.9.2015 1:25:55

    Stefan, as expected, it does not work any scripts.

    http://pasteboard.co/H3Okupq.jpg

     

    uploaded image

     

  • Stefan
    17.9.2015 10:44:50

    I said:

    The latest version of bfexplorer offers bot trigger assembly execution. This update should solve bot trigger compilation problems.

    The only bot trigger I released assembly is BackCorrectScore00LayDrawTrigger.

  • Stefan
    23.9.2015 18:39:21

    Starting from bfexplorer  1.7.5743, all “bot triggers” will be released as compiled assemblies as well.

     

    After downloading .zip file from bfexplorer web site, do not forget to Unblock it.

  • Mir.
    23.9.2015 19:44:04

    And what does it mean?