Article

Custom Built Bot and Back Dutching

This short video tutorial shows how to setup custom built bot using the Execute Trigger Bot.

First unblock zip file and its content unpack in the bfexplorer app folder:

C:\Program Files (x86)\BeloSoft\Bfexplorer

Your custom bot is compiled into the file/assembly:

SetStakeByPriceRangeBot.dll

Open bfexplorer and market on which you want to execute your bots.

Create a new bot setting for Place Bet bot.

Create a new bot setting for Execute Trigger Bot, and enter the following parameters:

BotName, the name of your action bot that will place your bets, in my case the name of bot is its default name Place Bet, but you can name it according to individual settings you could defer among other bots, for instance: Place lay bet offering

TriggerParameters, in the following conventions:

2.0|4.0|100.0|5.0|8.0|10.0

It is list of allowed odds/price and stake amount you want to place, for instance 2.0|4.0|100.0

Means the following MinPrice: 2.0, MaxPrice: 4.0, Stake: 100.0

Data values are separated by |

TriggerFilePathName, is the full file name to your custom bot assembly, so:

C:\Program Files (x86)\BeloSoft\Bfexplorer\SetStakeByPriceRangeBot.dll

Name your bot and save it, now you are ready to use it executing it manually like I did in my test, or using Bot Executor tool.

In my test I execute the bot on two selections with different price/odds range and the bot correctly placed back bet with stake 100.0 Euro on horse with allowed odds range 2.0 – 4.0, and on the other one with 10.0

If selection is traded out of allowed odds range, not bet is placed.

At the end of my tutorial you can watch how to place back ditching bets using Dutching Bet Wizard.

Open a market on which you want to dutch selections, click on menu item Market / Bet Wizards / Back Dutching.

Select you selections, and set Stake type, of odds changed, click on Update Odds, and then click on the button: Place Bets, and your dutch bets will be placed.

Comments ( 15 )


  • Tony
    3.7.2019 23:47:02

    I'm using a previous version of your software from FEB 2018. All my bots were made for that version and don't work on later versions. All worked very well until around 17h00 this afternoon. I've checked at 15h00 and all was working perfectly fine. Now all my football bots won't start at a given match time. On later versions there's any problem as football bots start perfectly fine, but I just cannot rebuild all my bots on a later version of your software because I've got more than 800 bots to rebuild. Please help me out and review what changes were made today that unabled this version from FEB 2018 to work as it did until this afternoon. Thank you very much for all your support.

  • Corneliu
    4.7.2019 3:02:34

    Problems started not today, not only with your version and not only with the football bot ! I use a later version from last summer, all my football bots "died" this afternoon, but also all BeTheFirstInQueue bots stopped days ago. I'm paying this software for an year and only on the last days lost more money with these last updates than I've ever paid for all my subscriptions. We trust, we pay and we lose because these changes are all made "out of the blue" and without any prior notice...

  • Betfair Bot
    4.7.2019 9:57:27

    Gentlemen, but this tutorial was not actually meant to anyone of you, so if your bots were working correctly then why you updated bfexplorer app to the latest version, if all was working with your bots using the version of bfexplorer you installed initially?

    Of course I am very sorry for any trouble or problems, or even lost in money you mentioned, but again I ask when all worked with previous version of bfexplorer for both of you why you did updated to the latest version? Did I force you to update?

    If not then it is really just your responsibility first to check if the latest version of bfexplorer works with your preset bots. Tony you reported you have got setup 800 bots, well that is really quite a lot, I myself never exceeded more than 50 bots or so.

    If you setup so many bots, then there is really question?

    Do you really need 800 bots with different settings? You maybe use just one or two types of bots, I mean for instance Place Bet bot and trading bot called: Place Bet and Close Selection Bet position. If that is your case then your strategy can be automated the other way, you actually creates just different parameters or model for those two bots, so there is need to rethink your strategy and create your custom bot which works just with preset data, to automatically configure your two bots.

    The other question is, when you really spent a lot of time with setting up so many bots why you did not ask me what to do to prevent recreating of all your bots when you update bfexplorer version, because updates to any software are inevitable, they simply happen, it is the way how software industry works, as any technology evolves in time, so updates are necessary!

    It is not because some problems in my app, but as they happened sometimes, but it is because of changes in betfair api from time to time, and mainly from the fact that bfexplorer app involves as well, as I myself use it daily.

    Just simply hint for all making a lot of bot settings.

    Bfexplorer app is installed in folder:

    C:\Program Files (x86)\BeloSoft\Bfexplorer

    So when you are uncertain whether update to the latest version will introduce problems to your current running app version and bots, rename this folder to:

    C:\Program Files (x86)\BeloSoft\Bfexplorer.bak

    So this way old installation of bfexplorer remains in this folder, the latest version will be installed to the folder:

    C:\Program Files (x86)\BeloSoft\Bfexplorer

    That is not all, bfexplorer also uses different app settings. These settings are saved in the folder:

    C:\Users\stefan\AppData\Roaming\BeloSoft\Bfexplorer

    Stefan is my username on windows installation, so of course you must replace that with your username, so:

    C:\Users\your user name here\AppData\Roaming\BeloSoft\Bfexplorer

    Again you can copy that folder and so backup your all settings, or just in case of bot settings you can copy the file:

    MyBots.parameters

    to your backup folder.

    Now you can run the latest version of bfexplorer and first check if all your bots works, you should test it in the practice mode so not risking real money in your test.

    You both mentioned Football Bot, yes I updated this bot after one user requested

    Bfexplorer Latest Release

    to add Start/StopCriteria criteria, as number of different parameters had changed, it was better to implement that this way, and I reported that to release log:

    Version 2.0.6957

    Adding Goals parameter to Start/StopCriteria for Football bot.

    So if I understand it correctly you updated to latest version, just because a new set of parameters was added to Football Bot, right?

    But then you either knew that it could cause some problems with previous bot settings, so you were able to rebuild your bots again, or you should simply ask me about that. I really do not remember anyone of you ask about those possible compatibility issues when using new Football Bot. Nor I read about problems with Be the First in Queue bot.

    I am betfair software vendor, so vendor providing trading app for betfair. For some of bfexplorer users I am partner as well, mainly for whom I build bespoke bots or apps, and they ask me. So for such users I can advise, in my best knowledge, about solving problem or strategy.

    I hope you understand difference between words vendor and partner. In what role you are that do not depend on me but on you.

  • Tony
    4.7.2019 12:30:49

    Thank you very much for your quick response. I didn't update my software. I'm still using the same version. All football bots worked perfectly fine with my software version until yesterday afternoon. Please let me send you the software version file I'm using and please test a football bot to help me find out why they stopped working yesterday afternnoon. Thank you once again for everything.

  • Betfair Bot
    4.7.2019 13:31:41

    Football Bot needs valid feed of match score data, and I have just checked that on one football match at in-play just executing the football bot, bot must report the match time and score. Does your bot report the match data?

    I always work with latest version of bfexplrer only, so if your bot setting is compatible with this version of Football Bot, then just save bot settings end send the file by email.

  • Tony
    4.7.2019 13:56:02

    I have just sent you my Bfexplorer version by email. Yes, it can have something to do with the match data. I can't see any match times or scores on the output as it used to show But so, why it always worked so well until yesterday afternoon ? Please test it, so we may find out whwt really happened. Thank you so much.

  • Tony
    4.7.2019 14:04:38

    I also have got no match data on My Tools » "Football Score" window. It surely must be that the reason. How may I get that live data again for the football bots to start ?

  • Corneliu
    4.7.2019 14:11:15

    No live match data here also.

  • Bodasy
    4.7.2019 16:25:05

    Hello I use version from last summer and have same problem with live score and football bot since yesterday. Kust need to know how to ractivate Live Scores on my bfex. Tks

  • Betfair Bot
    4.7.2019 16:26:46

    Watch this video, as I said with the latest version of bfexplorer all works fine.

    I do not remember exact date but month or two ago during one of my live session on trading football markets I noticed that some matches were not updated further investigation showed that some of json data were not the same type as football live score provider required, so update of match data failed. I fixed that and released.

    You are saying that what worked yesterday does not work today, so the mismatch of data in json is just temporally, not occurring on all matches. I did not trade football those days so I hardly to say, but my version of bfexplorer works without problems.

    Backup your old version as mentioned, or just use the latest version, the chance is that problem is really only in those mismatch of json data, so your old version can start working later, if you do not want to update to the latest version.

    I would really suggest using common sense, as when program works for days, and then suddenly stops working, it is not because something worn out, so the problem must be out of program, in data the program uses.