How would it be possible to get the average Last Price Traded in the last minute and use it as a trigger for "Place Bet"?
-
Add Your Comment
+Please login to your bfexplorer account, if you want to add a comment to this article.
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 5.13.0818 The cumulative updates. Install from Bfexplorer Preview version. Version 5.07.0322 The cumulative updates: Betfair AI Trading, Create Strategy Settings LLM support. Install from Bfexplorer Preview version. Version 4.11.0214 The ...
18.8.2026 13:50:59
-
Version 5.13.0818 The cumulative updates. Install from Bfexplorer Preview version. Version 5.07.0322 The cumulative updates: Betfair AI Trading, Create Strategy Settings LLM support. Install from Bfexplorer Preview version. Version 4.11.0214 The ...
18.8.2026 13:50:59 -
Apps - marketid and selectionid
I've spent the last 2 weeks working on ways to get markets opened and various types of trade using marketId and selectionId information. The marketid etc. comes from my URL in csv format. With help of various AI models I developed an excel multipage spreadheet to automate ...
17.8.2026 19:53:20 -
Hi mate, I've just donated £15 for the premium, I have a problem. When I login with 2FA the pop up just goes white and doesnt appear to have actually logged me in
9.8.2026 15:28:54
- by : layteruk10
- by : Betfair Bot
- by : layteruk10
- by : Betfair Bot
- by : Betfair Bot
-
Have you got a guide on how to setup and use either Copilot or Claude?
by : djdarbs
Comments ( 1 )
Betfair Bot
If required feature is not yet implemented in pre-built bfexplorer bots you can create your own bot trigger.
When opening some markets in bfexplorer for monitoring we can see charts in ladders or in the Bet Event grid view in Watched Selections and so on.
What does it mean?
It means that bfexplorer app must process some way this data for charts. And yes, software developer using Bfexplorer BOT SDK can find that Selection object offers following property: PriceTradedHistory, and there either TradedPrices or Prices.
In the user interface of bfexplorer app a common user can browse this data by clicking on selection context menu: Show Selection Data
Ok, we know where our data are so now we can program simple bot trigger code:
AverageTradedPriceBotTrigger.fsx
How the average traded price is calculated can be seen in the function: getAverageTradedPriceFromTime (lines from 48 to 63)
And how this function is used to trigger an action bot is on lines from 82 to 91.
What we must realize when developing this kind of strategies is the fact that bfexplorer must monitor market for required time, and that data are stored only for limited time, it is saved 60 last data points.
There is also other alternative to get traded price. I showed that at the end of my short video.