Author Topic: Lay horse in Win Market if it's 2nd fav in place Market  (Read 3260 times)

Tags:
  • All members
  • Posts: 118
Hello,

I noticed that my trigger is not working as intended to. The reason behind it is that I want to BACK a certain horse in the PLACE market then I want to lay the 2nd favorite in the WIN market. But this horse must be the 2nd favorite at the time the back bet was made. Even if the back bet is unmatched.

I believe we can do it with a "remember" but I'm getting no where...


I'll give you an example:

I have a trigger that backs in the place market and another that lays in the Win Market.

But sometimes, during that few seconds the 2nd favorite is different.

So, let's say at the time the trigger made a back bet we had the following list:
1-Horse A
2-Horse B
3-Horse C
4-Horse D
5-Horse E
...

After the trigger fired the back bet, I wan't it to lay the Horse B. How do I do that.

  • All members
  • Posts: 118
Re: Lay horse in Win Market if it's 2nd fav in place Market
« Reply #1 on: 21 Sep 2014, 18:54 »
The closest thing I came up with it a condition:

Trigger Expression winplace_sel_order is equal to 2 But don't know if it will work as intended...

  • All members
  • Posts: 118
Re: Lay horse in Win Market if it's 2nd fav in place Market
« Reply #2 on: 23 Sep 2014, 11:14 »
anyone?

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Lay horse in Win Market if it's 2nd fav in place Market
« Reply #3 on: 23 Sep 2014, 12:34 »
hi
have a new trigger to set the varaible 2ndf  to  0       Global
once per market

now in your a betting trigger add an action
set user variable
name  2ndf   
value   winplace_r_2_sel_index
Global

now in your b betting trigger
new condition
and selections index is equal to  2ndf

so as soon as bet A has fired, the varaible 2ndf will record the win market second favourite's index, then the B can send a bet out at the same index 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: 118
Re: Lay horse in Win Market if it's 2nd fav in place Market
« Reply #4 on: 23 Sep 2014, 12:48 »
Thanks for the reply mcbee.

But I want to record the 2nd favorite in the place market and the lay that horse in the win market. So in that case I'll do everything like you said but instead of winplace_r_2_sel_index in my A trigger I just put r_2_sel_index, right?

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Lay horse in Win Market if it's 2nd fav in place Market
« Reply #5 on: 23 Sep 2014, 13:17 »
hi
yes ,correct.

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