-
A kinf of Lay the Draw at (around) Halftime
Hi,
I’m a new member here. I've spent some days watching a number of videos, reading community and blog articles, and testing the software in Practice Mode, and I must say it’s really awesome.
There are still many details I don't know, but to date I've managed to set up a sort of Lay ...
27.3.2026 9:13:29
-
Bfexplorer Latest Release
Version 5.07.0322
The cumulative Betfair AI Trading, Create Strategy Settings LLM support. Install from Bfexplorer Preview version.
Version 4.11.0214
The cumulative Betfair AI Trading. Install from Bfexplorer Preview version.
Version 4.10.1227
The cumulative ...
23.3.2026 17:38:27
-
Machine Learning vs. AI Agents in Sports Betting: A Paradigm Shift
In a previous post, we talked about how difficult it can be to build a standard Machine Learning (ML) system for Betfair from scratch. It requires a lot of work, including handling data, coding live pipelines, and managing databases. But now, a new method is changing everything: AI Agents using ...
30.1.2026 15:20:00
Mir.
I understand.
As described on picture. No bets on Selection. But Back bet waiting for place €10 @ 5.60 if MaximumOddsDifference < 2.
And finally best back odds is 4.60 and best lay odds is 4.80, conditions are met and ... bot place a bet with calculated price @ 5.60
Betfair Bot
Miro, MinimumOddsDifference and MaximumOddsDifference parameters are used before a bet is placed. If you set these parameters and values are not met then your bet is not placed.
If you do not want to use the chase odds feature which is actually one of base features when you use calculated odds bet placing, so when PlaceBetInAllowedOddsRange is set, then set ChaseOddsTimeout parameter to 1 day for instance: 1.00:00:00. This setting will effectively stop bet updating, as your bet is active on greyhounds market just for couple minutes.
Mir.
Using ChaseOddsTimeout is not good!
Dynamic stakes (like Liability) calculated at strarting (wrong) Odds. If chasing odds stake is unchanged
Mir.
Thank you again for this bot, Stefan!
Prepared stakes is not problem.
Mir.
MinimumOddsDifference and MaximumOddsDifference parameters are used after the bet placed.
I don´t want update any bets, I want place for example 3 Back bets with different Price Improvements for the first time at right Odds. Without any chasing the Odds.
This is the key of my problem.
Yes, maybe I can use ChaseOddsTimeout but only once.
Betfair Bot
Miro, your custom bot script had been developed without supporting StakeType parameter. Actually when your bot script was developed such bot parameter (StakeType) was not offered by bfexplorer bots.
After I finished your custom bot I sent you the source code as well, so just have a look on function: ToObjectValue, if you want to add support for StakeType then add it to this function.
Betfair Bot
Miro, there is actually no problem with this bot, when bot is executed with PlaceBetInAllowedOddsRange, and you set required parameters for MinimumOddsDifference and MaximumOddsDifference, then initial bet is placed only when those parameter values are met, so the bot will do exactly what you want to.
Once a bet is placed, and if it is not fully matched, then bot updates bet odds to fulfill your requirements for bet placing at required calculated odds, but in this process the MinimumOddsDifference and MaximumOddsDifference parameters are not used, these parameters are used only for initial bet placing.
If you require other bot behavior in this stage (when bot updates odds), then of course a custom bot must be programmed, but you did not mentioned such behavior.
Mir.
Problem solved.
I do not have to use parameter "StakeType" in my CSV file.
-------------------------------------------------------
All Stakes I can define exactly as Stake; prepared before
Example:
Tick Profit €1@3.65 is Stake €73@3.65
Mir.
Problem solved.
I do not use this bot for trading on greyhounds.
// I cant edit my own latest comment
Mir.
Problem solved.
I do not use this shoe for trading on greyhounds.
-----------------------
Condition: MaximumOddsDifference is condition for specific bot (not for start complex trading strategy).
I tried to set up 2 Place Bet bot in chain, but it is uncomfortable (1st bot with small stake, back @ 1.01, 2nd bot run when MaximumOddsDifference is awaited)
Mir.
I can´t change StakeType in my CSV file.
Is my syntax correct?
670.00;Back;Place Bet;Odds;670.00;BetType;Back;Stake;2.22;StakeType;Tick Profit
Mir.
For examle Greyhounds:
If I run the bot 5 min before the bot calculate odds from (and PriceImprovement) from this situation.
But I want to run the bot 10 minutes before and calculate and place bet AFTER maximumOddsDiff is 2 (maybe 2 minutes before)
-------------------
I do not want to place @5.60 because -> the condition is not satisfied (maximumOddsDiff is 2)
But if ALL conditions are met ... the bot place bet ONLY at 5.60
What's the use that ODDS are already other
Betfair Bot
It is clear that bot parameters setting have influence on bot behavior when placing bets, and that bet is always placed at some odds (0 is not valid odds), so set PlaceBetInAllowedOddsRange to true, and OddsDifference parameters to required values, then your bot will place a bet when OddsDifference parameters are in preset range. The default value for Odds range is 1.01 to 1000.0, so bet is placed at odds calculated by using the current offered odds, and of course reflecting all other Bet Attributes parameters setting.
Betfair Bot
There is no support for entry criteria to be read from CSV file, on the other hand you can develop your custom bot or bot trigger, so then your bot will use whatever features you will program to betfair bot.
Mir.
Can I use "Entry Criteria" in CSV file?
And how?
---------------------------------
For example:
Mir.
I do not want to place bet at any range...
I want to place a bet: IF maximumOddsDiff is 2 and at this time with PriceImprovement 2
Betfair Bot
You did not set PlaceBetInAllowedOddsRange parameter, therefore your bet was placed at exact odds, initially set to the Odds I described. If you wanted to place your bet in allowed odds range then why you did not set the parameter: PlaceBetInAllowedOddsRange?
I do not know what is your use case scenario for PlaceBets bot? You can simulate such behavior by using Place Bet bot and Execute on Selections bot.
Mir.
Do you remember your bot in old version BFE which names "PlaceBets bot"?
Mir.
Yes, at the current odds!
Not at a time when the criteria are met, but at the time when the robot is started
Betfair Bot
You did not set the parameter PlaceBetInAllowedOddsRange and Odds is set to 0, what means your bot should place a bet at Odds 0, right?
In such cases bot sets Odds parameter to the current odds depending on the BetType (so Back in your case, and as OfferMyBet was set to True, the Odds was set to current offered lay price) when the bot was executed.