-
Bets
Hello, I am still using trial version, I have money on my Betfair account and would like to try to stake. However, in practice mode I am able to stake but not in live mode. Account is connected. In left bottom corner shows my cash balance
5.1.2026 9:05:39
-
Bfexplorer Latest Release
Version 4.10.1227
The cumulative updates for net 10. Install from Bfexplorer Preview version.
Version 4.08.1010
The cumulative updates. Install from Bfexplorer Preview version.
Version 3.34.0704
WeightOfMoneyData provider for ...
27.12.2025 20:36:17
-
8 Essential Data Contexts Available for Betfair Market Analysis
Just documented the comprehensive data contexts available in our Betfair trading system. Here's what we can analyze:
🏇 OLBG Racing Tips - Professional tipster confidence ratings and analysis📈 Custom Performance Metrics - In-play ratings, trends, and win ...
26.7.2025 19:03:01
Betfair Bot
Yes, it is taken your action bot stake and as well lost amount in allowed streak (the parameter ResetStakingPlan) multiplited by MartingaleStakeFactor.
So it is not taken entire lost amount, as staking plan is rest after consecutive loses defined by the parameter: ResetStakingPlan.
Here is piece of my code:
placeBetParameters.Stake <- placeBetParameters.Stake + addToStake
dnx444
yeah yeah that makes sense, but im unsure why im getting the results im getting. if i win the lay bet after losing a lay bet it takes my sum to breakeven, which i dont believe should be right? if my initial stake is $10 and it loses, then ill be down x amount of dollars but if the next bet wins it should stake accordingly to cover the loss plus add the additional stake. So after winning the second bet the sum should be $10 as that is the stake size. does that make sense? so just wondering if im missing something or not?
Betfair Bot
Do you understand what multiplication means in mathematics?
If your stake is 10, and you want to add 10% to new stake then 10.0 * 1.1 = 11.0
If you set that parameter to 10.0, then 10.0 * 10.0 = 100.0
dnx444
So for example if my stake is $10, I need to make the martingale 10 as well?
Yes im well aware of what it is about, had many years experience with it. At the moment not using real money for obvious reasons, and may not at all. I just trialling how the bots work with it
Betfair Bot
Any MartingaleStakeFactor > 1.0 gives you stake bigger than previous loss, and as the winning lay bet payout is equal to your stake it is really up to you what that factor value you set.
Sir, I have got really bad feeling that you actually do not know what is your strategy about. Do you know what risk martingale strategy involves?
dnx444
So with my trials today I setting the martingale as the defualt of 1. I was finding if the bet lost, the next bet would have a stake of what ever the total loss is. If that bet won, it would then bring the sum back to breakeven, where as I would prefer it to be a profit of what ever the initial lay stake is.
Would i need to make the martingale value 2? or is there a setting i am unaware of that will add the total loss to the stake to then give me profit?
Betfair Bot
English is foreign language for me. I speak Slovak as my native language, I understand Czech, Polish, Russian and English, so from English dictionary – factor
A number or quantity that when multiplied with another produces a given number or expression.
"an amount that exceeds it by a factor of 1000 or more"
So translating MartingaleStakeFactor is the number you can multiply by your total loss giving the stake amount in the next martingale bet.
As 1 * 1 = 1, the default value for MartingaleStakeFactor means that your next stake is increased by your loss amount only.
ResetStakingPlan means that after x losses in row (the default value is set to 3) the martingale staking plan is reset to original bet stake amount placed by your action bot.
I actually attached illustration image found on the Internet, to illustrate what your strategy looks like in used staking plan, it is called: martingale.
dnx444
What I don't understand is, what does 1 in the martingale and 3 in the reset represent?
does the 1 mean it only adds the losses going back one, so say there's multiple losses do I need to set it to 3 so it adds on 3 of the previous losses?
with the resetting staking plan with the default of 3 means it only resets it 3 times?
Betfair Bot
When selecting above parameters in the Add/update bot dialog, the following descriptions are displayed.
For MartingaleStakeFactor : Add previous loses to my stake. The default value is 1.0
For ResetStakingPlan: Reset the staking plan after loses. The default value is 3.
What cannot you understand from above sentences?
Betfair Bot
Yes, you can do so. Always create “Execute Till Target Profit” settings with unique name for each strategy you will execute.
dnx444
I think of got it running successfully. Is it possible to run multiple of these bots at the same? like one on each race meeting?
Betfair Bot
Yes, you can execute this strategy using “Place Bet” bot, and “Execute Till Target Profit” bot, create two bot settings using “Execute Till Target Profit” and name them differently, because it is clear that this bot must check your results, and it creates result service/s by assigning them name of the bot to distinguish among different result market queues.
To execute your strategy in full automated mode use the tool: “Bot Executor”.
dnx444
So this is how I would like it to perform. It will be completed on horse racing and grey hounds. Ideally it will be perfromed on single race meetings. So it will start at race 1, with a lay bet on the favourite -00:00:30 to jump time. A predetermined stake will be set eg $10, which will be the target profit as thats how the lay bet works. If the the bet wins, target profit will be achieved and bot will be executed with a profit of $10. If the bet loses, the next bet will be placed on the favourite in race 2 as a lay, again -00:00:30 to jump time. The stake will be $10 plus the liability of the first bet in race 1 and then so on, if it wins it stops and if it loses the liability of race 2 will be added on to the $10 stake and will contine until the $10 profit has been achieved. Also unsure if there is a possibility to include the betfair commission into all of that as well. Hope this makes sense
Betfair Bot
You must clearly express your intention.
Is your profit target meant to be generated by closing bet position on one market, so trading?
Or is it your target profit generated by continues betting or trading on more markets?
You instruct bots to automate your strategy by setting bot parameters, or just by putting more bots in continue execution. Just a common sense dictates that computers do not think yet, only execute set of exact instructions. You do not declare exact instructions yet from your description.
dnx444
Thank you for that info. Its starting to make sense now. So how would I do it so once the target profit is reached the bot will stop?
I've looked at the Execute Till Target Profit bot, but can not see an option for it to place a lay bet? Would this be the right one to use?
Betfair Bot
There are maybe zillions of different betfair strategies one could execute, but it does not mean that for any such betfair strategy you need dedicated bot, program executing such strategy.
Just think about it what does it mean lay favourite?
We know that lay bet will be placed.
We know that the lay bet must be placed on the favourite.
Bfexplorer offers general bot named “Place Bet”.
What such bot can do, just by judging from its name?
Well, of course it can place bet, set by parameter: BetType.
In our case we need to set this parameter to Lay.
We need to place such bet on the favourite, so setting the parameter SortSelectionsBy to “Last Price Traded” will sort market selections by price/odds, the favourite will have index 1, the second favourite 2, and so on.
As we are instructing the “Place Bet” bot to do what we want in our strategy, what is missing?
Of course the selection on which the lay bet will be placed, and the parameter to set is: ExecuteOnSelection. As the favourite has index 1, we set the parameter ExecuteOnSelection to 1.
And that is all we need. Of course all bfexplorer bots where the above parameters make sense, so BetType, SortSelectionsBy and ExecuteOnSelection have such parameters.
Now we can save the bot settings naming it: “Place lay bet on favourite”. Naming the bot settings and saving it, adds the bot to the list of “My Strategies / Bots to Execute”, and such bot settings become general use for any case we need to lay favourite on the market.
Of course bfexplorer bots offers a lot of different parameters, each of them just from naming suggests for what they can be used, and there is parameter description provided as well, so just read the screen.
The above bot settings does not define any entry criteria, so if your strategy have any such criteria you can set them on Entry Criteria of the bot settings dialog.
When I mentioned “general bot settings” or “action bot” settings I mention in many blog posts, then even if your strategy is super complicated trigger, or machine learning algorithm triggering bet placing, then any time in such complicated strategy you need just simple “Place Bet” bot.
Well yes, I said simple “Place Bet” bot, but it actually is not so simple program, as it manages bet placing and updating not matched bets when odds moves and odds are still in allowed odds range to place a bet, or cancel unmatched bet when bet placing is not allowed at in-play, the parameter: AllowPlacingBetInPlay, and so on.
dnx444
Thanks for the reply. I noticed that the lay the favourite one isnt on the list, where would I be able to find that?
Betfair Bot
There is no need for any programming if your strategy can be executed by setting pre-built bfexplorer bots:
http://bfexplorer.net/Products/Feature/23#My%20betfair%20bots
If your bot strategy needs programming up to 30 – 60 minutes of my time, then I do such bespoke bot scripts for free. On the forum you can find a lot of such scripts:
http://bfexplorer.net/Articles/ByTag?tag=Case%20Study
And of course for more complicated bot strategies you must pay for my work, it starts from 150 GBP, what represents 5 hours of my work.
Betfair Bot
The OfferedAmountToLay takes 3 best offered prices and calculates sum of offered volume. The BestOfferedAmountToLay takes just bets offered price volume. It is similar for ToBack properties.
Betfair Bot
http://bfexplorer.net/Articles/Search?text=drip feed