Author Topic: Find the days race with the most runners.  (Read 1379 times)

Tags:
  • All members
  • Posts: 347
Find the days race with the most runners.
« on: 12 Dec 2018, 09:27 »
Is it possible to, from a list of the days loaded horse markets, identifty which market has the most runners?

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Find the days race with the most runners.
« Reply #1 on: 12 Dec 2018, 10:37 »
hi
yes , but you would have to monitor ALL the races , then have a trigger to record the meeting with the most runners and maybe have another trigger to delete all the other meetings to save cpu usage.
use the condition for markets number of selections.

mcbee
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.

  • All members
  • Posts: 347
Re: Find the days race with the most runners.
« Reply #2 on: 12 Dec 2018, 10:44 »
hmm can you elaborate a bit on this bit please!

"then have a trigger to record the meeting with the most runners"

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Find the days race with the most runners.
« Reply #3 on: 12 Dec 2018, 11:36 »
hi
you would have 2 triggers
1 to record the runner_number  in the actions ( variable).
in the conditions a simple condition to check the (recorded runner number , variable from the actions) is less than the runner number
then the trigger number 2
delete any market that the recorded runner number (variable) is less than the recorded runner number
you will be left with any market that is equal to the recorded runner number

mcbee
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.

  • All members
  • Posts: 347
Re: Find the days race with the most runners.
« Reply #4 on: 12 Dec 2018, 11:39 »
yep ok ta

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Find the days race with the most runners.
« Reply #5 on: 12 Dec 2018, 11:50 »
hi
I forgot to mention the other condition in the delete trigger
AND selections trigger expression market_num is equal to refr_market_num

this condition makes sure that ALL the markets in the my markets list are been monitored before any are deleted.
or if you want to place a bet in the market with the most runners , change the delete trigger to set user variable with the value as market_parent_id , then use that value in the betting trigger to choose the correct market


mcbee
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