Lay/Back Bot
Posted in Bot programming by bigleb67
Hi Stefan,
I am trying to place an automated bot with the following criteria and I was wondering if it is possible.
For selection, lay at given stake if odds are in set parameter i.e. if lay odds 4.0-6.2 lay at 6.2 for £10(this only applies before the off)
If bet is matched than place a BACK bet if odds fall to a certain amount to another given stake. For e.g. Back odds are 2.0 to 3.0 than back at 2.0 for stake of £12 (this applies befor the off and in-play.)
I would be grateful for any advice. i have tried the stop loss automation but it doesn't work as I intend to.
Thanks,
Matt
Monday, November 23, 2009
Betfair action bot script
Hi Matt,
If you are not able to create your own betfair action bot script then you can really use only what the Bfexplorer PRO offers with the Bot Executor. In your scenario you place your lay bet on a selection and close your position if layed selection is offered at preset odds range, so in the case your layed selection will win you lose 40 instead of 52.
You can use two separate bot scripts using the Bot Executor. The first one will place your lay bet, so you will use Place Bet bot, and the second one will close your position with preset odds and oposite bet. It is clear that such bot has to be executed manually because on one selection can be executed automatically only one bot scripts using either the tool: Trade opportunity lookup or Execute my strategy on selections.
As I mentioned if you are familiar with programming you can create bot script that will execute any stratagy, I will see if I find some spare time this week to make such bot script. Let me know if you really want to use such bot script beacuse it is not a work for couple minutes.
Stefan
Monday, November 23, 2009
Script
Hi Stefan,
If it would be possible for you to create the bot then that would be great. I have been testing some selections in my spare time but don't have enough free time to do this manually. I would like to be able to adjust the odds and the stake according to the selection.
Out of interest, what computer langauge are the bots programmed in.
Thanks again,
Matt
Saturday, November 28, 2009
Matt, you can program your betfair bot scripts in C# or Visual Basic. Your betfair bot script: PlaceBetAndStopLossBot extends the PlaceBetBot and you can use it with following parameters:
To set it up with the Bot Executor use the bot settings for:
You can download the source code of this betfair bot, unzip and copy the betfair bot script file into the MyBots folder.