Could someone please explain how I can do the following: I want to execute a bot when 2 conditions (triggers) are true Trigger 1: race distance is between 1000 and 1350 meters Trigger 2: any horse in the race has odds between 1.5 and 2. Thanks
Community Articles
- Popular
- Recent
- Comments
-
Hello. Since yesterday I have a delayed API on my BF Explorer trading software. I had no bots running when this happened and now I am also unable to trade as all stakes in the markets keep flashing all over the ladders on random odds, being absolutely impossible to figure out what was the last price ...
9.5.2020 16:19:41 -
I tried BFexplorer, having used 3-4 different software applications beforehand. The 2 days utilising the software, I managed to get a feel for the product and like the modern display on the black background. Bets placed were very responsive with no lagging experienced from other products. A few ...
25.3.2015 17:55:00 -
Version 3.25.0513 Adding the new feature: Open Bfexplorer from web page. Install from Bfexplorer Preview version. Version 3.23.1126 Cumulative updates to the Bfexplorer Preview version (.net 9.0) Version 3.22.0821 Cumulative updates to the Bfexplorer Preview ...
13.5.2025 15:54:16
-
Non-Developers: What's Your Experience Using AI to Modify Code?
I'm curious about how non-developers are using AI tools (like Grok, Copilot, or ChatGPT) to tweak or create code. Whether you're updating scripts, customizing templates, or automating tasks, I’d love to hear your stories! What projects have you tackled with AI assistance? Any tips for ...
16.5.2025 20:31:03 -
Install the Bfexplorer app from this link and enable the URL scheme for opening the Bfexplorer app by importing it into your computer's registry or this one BfexplorerSchemeProtocol.reg. How does it work? When the URI is opened, the script file is executed by the Bfexplorer app. This ...
14.5.2025 17:49:27 -
In the new year I will release the new version of bfexplorer. If you want to test the preview version, please download it from my dropbox: https://www.dropbox.com/s/ewmbdcgqf75ak3t/Bfexplorer.msi?dl=0 https://drive.google.com/file/d/1_Ta7K3Spv9WoPV_m5GLzQvJm9x8GqN_J/view?usp=sharing .net 9 ...
13.5.2025 16:00:15
- by : adska
- by : adska
- by : Betfair Bot
- by : Betfair Bot
- by : Betfair Bot
- by : TheWood
Comments ( 6 )
peteresgate@outlook.com
I just wanted to clarify Trigger 2. When I say any horse, I mean I'd like to use a specific horse based on current position (based on odds). For example Trigger is when horse # 2 has odds between 1.5 and 2 (therefore obviously horse number 1 has better odds and horse number 3 has worse odds).
Betfair Bot
For your Trigger 2:
Depending on whether you want to place a bet or trade on specific horse, you can use bot strategy: “Place Bet” or “Place Bet and Close Selection Bet Position” (that is trading bot strategy).
You set SortSelectionBy Last Price Traded, ExecuteOnSelection to 1, EvaluateEntryCriteriaOnlyOnce set to True (checked), and in Entry Criteria tab you add criteria LastPriceTraded is between 1.5 and 2.0
Your Trigger 1 can be done by filtering markets in Event Browser and executing your strategy only on selected markets using Bot Executor.
If you want to fully automate Trigger 1 as well, then you must realize where information about race distance is. It is in market name and is coded in miles and furlongs for GB, US and IE, and meters for the rest of countries, so 6f, 7f, 1m, 1000m and so on.
It means that you need to transform text of race distance to meters. You did so in custom build triggers like you can see in attached videos.
When I first executed my strategy on 6f race, and MinimumRaceDistance was set to 1760 meters, the bot did not executed my action bot “Trade 3 ticks”, as race distance did not fulfill set criteria, when I change that to 1000 meters, and top tipster’s selection fulfilled another criteria so Confidence at least 40, the bot strategy chosen nomited horse Holloa and executed trading strategy on this horse.
I make simple triggers for free only to my subscribers.
peteresgate@outlook.com
Hello. Thanks for the quick reply. I have noticed the support is very good and fast. I just wanted to clarify the Trigger 2 again. I don't want to bet on this horse, I want to bet on amother horse when this trigger is true. I feel that this program can definitely do it, but is it something that needs to be programmed or is there a trigger ir some method that already does this?
Betfair Bot
You can execute whatever strategy you want, by other words, actually by your words you could understand:
A trigger is set of conditions (formulas) which all must be fulfilled the trigger to be activated, fired.
By my words, so words any software developer could understand:
A trigger is function returning boolean value, if returned value is true, another action is executed:
peteresgate@outlook.com
I do understand what a trigger is, I just don't underdtand how to implement it with this software so if you could explain it that would be much appreciated. So with the example of Trigger 2 of which you have explained it as a bot, how would I now make this a trigger so as to run a different bot when this trigger is true? Thanks
Betfair Bot
In my example I mentioned “Place Bet” or “Place Bet and Close Selection Bet Position” bot strategies, so if you set trigger criteria for one of these bots, it is clear the bot is executed / triggered.
There are other bots in bfexplorer arsenal that actually do not place bets, but execute other bots, so in your case you can use bot named: “Execute Bots” and set your criteria for this bot, when criteria are met, this bot executes other bot (bots) set by the parameter: BotNames.
What does it mean?
Your “Execute Bots” can evaluate different criteria for different selection, and execute another bot that can be executed on the other selection, depending on how you set parameter s and criteria for this action bot.
Of course all these preprogrammed bot strategies can do what they were programmed for and what set of parameters these bots offer.
When your strategy needs more, other betfair apps offer Excel scripting, so you must program VBA code to do what you need. In your example you would have to program in Excel VBA, conversion of market name in win horse racing markets, to race distance, and make your trigger work by evaluating race distance to allowed race distances.
Bfexplorer offers trigger programming, so such short code is then executed by bot named: “Execute Trigger Bot”.
On the forum you can find a lot of such examples:
http://bfexplorer.net/Articles/Search?text=bot trigger