Blog Article

Bot Trigger – Testing My Staking Plan (2)

In my previous article I showed how to create bot trigger for executing a simple staking plan. It is a good idea to test any bot in the practice mode, and of course to analyze some data. I run this bot on greyhounds markets lay favourite 30 seconds before race off.

In my video you can see that I changed bfexplorer workspace to accommodate just views I need, bets are placed automatically so no need for market selection ladder.

As my testing progressed bfexplorer saved some market data, so it was time to visualize them, for this purpose I created two scripts for Bfexplorer Console. The first script shows results in the Output view, and the second one saves market data to CSV file for further analyzing.

When analyzing market data, in most cases there is quite difficult to decide what data should be saved. In such cases Bfexplorer Console seems to be a very helpful tool, because till you did not close Bfexplorer, all your results from testing are accessible in a raw market data, so whenever you decide to change format of saved data, you can do so by changing your script code.

For my testing I saved: My selection odds, odds of 3 favorites, their book value, and if bet lost or won.

If you want to save and analyze your own data, download this file that contains two mentioned scripts, and my testing results.

During my testing the bot trigger executed its action bot on 38 races. 27 bets won and 11 bets lost. The total profit reached was 197.70 Euro and longest winning streak was 16 bets, 3 losing bets in streak.

Please do not be fooled by these results, test and analyze your data for weeks before running your strategy with real money.

  • Add Your Comment


    Please login to your bfexplorer account, if you want to add a comment to this article.

Comments ( 7 )

  • Mir.
    23.7.2015 7:40:45

    thumbs up!
    Nice to see how to easy start own solutions

  • Edumadrid
    27.10.2015 1:20:45

    Hi Stefan:


    How to change the stake in this Trigger? MyStakingPlanTrigger.dll

    Thanks in advance


  • Edumadrid
    27.10.2015 1:41:53

    Hi Stefan:

    Error: SaveMyResultData


  • Stefan
    27.10.2015 13:20:37

    The script uses filePathName to save your results to CSV file. You must change the value of filePathName to reflect your computer settings, I mean existing drive and folder on your computer.

  • Edumadrid
    27.10.2015 13:44:08

    Hi Stefan:

    "How to change the stake in this Trigger? MyStakingPlanTrigger.dll"

    I can change the stake MyStakingPlanTrigger.fs but not .dll extension.



  • Stefan
    27.10.2015 14:22:34

    I wonder why you do not set this parameter using the "TriggerParameters" parameter of the Execute Trigger Bot? It seems you like to overcomplicate things; otherwise I do not understand the way you think.

  • Edumadrid
    27.10.2015 15:34:08


    Sorry Stefan, but I had not seen "Trigger Parameters"