Author Topic: Selecting a runner based on bsp  (Read 6915 times)

Tags:
  • All members
  • Posts: 52
  • Gender: Male
Selecting a runner based on bsp
« on: 28 May 2025, 20:05 »
Hey,

I'm just wondering if it's possible to select a runner based on the BSP. Say I want to place a bet on the next runner with a BSP over 5, so say the next runner is 5.75, is it possible for MF Pro to place a bet on that runner at BSP. Basically I've calculated a system using results and BSP from timeform (assuming these are accurate), I want to program a trigger that would place the exact bets I've calculated so I'd need to program it then test it on the same markets on timeform.

Also, is there any way to know what amount of money is or was available at BSP?

  • All members
  • Posts: 52
  • Gender: Male
Re: Selecting a runner based on bsp
« Reply #1 on: 28 May 2025, 20:06 »
Test on time machine* sorry

  • Moderator
  • Posts: 3689
*
Re: Selecting a runner based on bsp
« Reply #2 on: 03 Jun 2025, 17:05 »
Hi
The conditions are:
selections actual starting price is equal or greater than 5.00
and selections sorting order is defined by actual_sp
and selections trigger expression match_index is equal to 2

this will bet on the second higher BSP selection above 5.00
e.g.
BSP 2.50
BSP 5.50
BSP 6.20 <--- bet
BSP 7.00

for the amount of money available at BSP (live as soon as BSP is known):
back side: b_offered_r_ticks(actual_sp, 0)
lay side: l_offered_r_ticks(actual_sp, 0)

r_ticks(price, 0) is used to get the correct price increment
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

 

Please note, BetFair is seems to be currently OFFLINE