Author Topic: BSP Betting  (Read 3888 times)

Tags:
  • All members
  • Posts: 314
Re: BSP Betting
« Reply #15 on: 15 Apr 2016, 11:43 »
Thanks MarV,

Can you let me know what it is that's not quite right?

Looks like mcbee's quote was right - but I am not sure what it is that's wrong?

Thanks

Mark.

  • Moderator
  • Posts: 3597
*
Re: BSP Betting
« Reply #16 on: 15 Apr 2016, 13:03 »
Hi
Yes, as Larp mentioned in Reply#11, the last_order variable is for use in-play and returns the rank number of the selection immediately prior to the market turning in-play. You specified for unmatched bets to Take SP at the off, which implies the bet will be fired pre-off. Those two won't work together. In Reply#7, I specify in-play.

Also, your market status is shown as all except settled, but you have not included a condition as to when you want the bet to fire, so as you explained, the bet fires as soon as the market starts being monitored.

I'm just testing three basic triggers for you which I'm sure you will be able to use and build on, will post up after testing a few more races.
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.

  • Moderator
  • Posts: 3597
*
Re: BSP Betting
« Reply #17 on: 15 Apr 2016, 14:04 »
Hi
Please see the attached trigger file which contains three triggers:

Take SP on pre-off Favourite
This will place a back bet pre-off at a price of 1000 so the bet remains unmatched, with the option to take SP when the market turns in-play
The selection will be the pre-off favourite at 10 seconds before the scheduled start
There is also a condition to check the selections back price is equal or greater than 1.20

Back at SP on pre-off Favourite
This a variation on the above trigger
It uses the program's special trigger action to back at SP and you can set a price limit and liability
I think it is more elegant than the above

Back BSP Favourite in-play
This trigger uses mcbee's condition to rank the selections according to the BSP as soon as the BSP is available
It then places a back bet at actual SP on the BSP rank 1 (unlike the above two triggers this is not guaranteed to be matched)
Condition is also included for your minimum price spec

Constants are:
ba back bet amount
mbo minutes before the off to bet for the non in-play triggers, I have set it to 10 secs before scheduled off

Recommended settings for these triggers:
Load SP Prices should be ticked
Start monitoring events at 1.00 min before beginning
Idle refresh rate: 1.0 sec
In-play refresh rate: 0.3 sec

Only one trigger should be enabled at any time so you can see how it works. Tick or untick the Enabled box, and save the trigger file and reload to try them out.

Please use test mode when testing triggers.
 
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: 314
Re: BSP Betting
« Reply #18 on: 15 Apr 2016, 20:31 »
Hi MarkV,

Many thanks for your help.

I think the only possible one of these that will give me the expected result (no pun intended) is the 'Back BSP Favorite in play'. I tried this on test on the last 2 races of today, and it worked perfectly.

BUT, of course, now I have to analyse this, and have concerns about the bet being matched, especially if its a low priced favourite.

I am wondering if it is possible to have a condition in there to take the price a few ticks lower?

I don't fully understand how the bet has been placed here, because the odds that the bet was placed at, did not match the BSP. This is not a complaint, as I think mcbee did mention that the SP will actually change before it actually finishes the BSP processing  (not in these words exactly)


I am happy to test the trigger, but I would ideally like to use real money to test it, I know its not possible, through betfair, direct, to place and SP bet at less than £2, but can MFP place my BSP bet at less than £2  ( I think 10p is an ideal test amount - but fear the time taken to back/lay/back to produce a lower stake, may involve a time delay)


thanks again for the help and advice to resolve my issue.  I will need to test it out using lower stakes and see how it goes.

The strategy I am using has had some amazing results, and so I wanted to start using it, BUT it has to be based on the BSP of the favourtite, hence the real need to do this. I now have to question the running of this system, especially after the provider of the service advised another bot, and given what has been said here in this question, I have to doubt how it has been possible to bet at the favourite BSP on this, and yet, show no failures?


Mark

  • Moderator
  • Posts: 3597
*
Re: BSP Betting
« Reply #19 on: 15 Apr 2016, 21:28 »
Hi
You probably got a better price than BSP? This is because in between the program firing the bet, and the next market refresh, the back price drifted above actual_sp and you were matched at the best price. Bear in mind this was test mode, and using real funds the behaviour may be different.

Strictly speaking this is not an SP bet. It is a straightforward in-play back bet and you are asking the price (actual_sp)

To send the bet a few ticks lower in order to increase chance of being matched:
in the price field put r_ticks(actual_sp, -3) this will be 3 ticks lower than actual_sp, change the -3 to whatever ticks you want (search the manual for r_ticks for an explanation of this function)
OR in the price field put "best" without the quotes. You will be matched at the best available price.

Because this is a straight back bet, you can bet below £2. Tick this setting: Settings > Betting Options > Allow small bets
You are correct about the time delay for bets below the minimum, it will take just over 3 times longer than a single bet
   
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: 314
Re: BSP Betting
« Reply #20 on: 16 Apr 2016, 08:23 »
Hi MarkV,

Thanks for the help...

Can I assume that if I place a back bet at 2.7, and the actual price at the off AND time of the bet, is 3.0, it will place my bet at 3.0, which is the 'better' price?

I have adjusted the trigger to alter the price field as...

r_ticks(actual_sp, -3)

Sorry if I am re-showing what you have already explained, but I am struggling to understand your alternative part "OR in the price field, put best", if I used that, would it still bet on the favourite? IF this is the case, then, I want to be able to calculate the stake, based on my original calculations, so I was thinking of doing this as...

(((bank_size_baw * perc_bet_baw) + add) / (r_ticks(back_price, -3) - 1))  / 0.95

OR, should it be...

(((bank_size_baw * perc_bet_baw) + add) / (r_ticks(actual_sp, -3) - 1))  / 0.95

OR

(((bank_size_baw * perc_bet_baw) + add) / (best - 1))  / 0.95

thanks

Mark.

  • Moderator
  • Posts: 3597
*
Re: BSP Betting
« Reply #21 on: 16 Apr 2016, 09:18 »
Hi
The trigger will bet on the selection defined as the selection with the lowest BSP, i.e. BSP fav

If you place a back bet at 2.7, and when it reaches the market the best back price of the selection is 3.0, Betfair will match your 2.7 at 3.0
If you place a back bet at 2.7, and when it reaches the market the best back price of the selection is below 2.7, your bet will remain unmatched
If you place a back bet at "best"  the price the program submits is 1.01, and Betfair will match your bet at the best available back price

Because your formula is "live" I think the formula should use back_price, which is the current back price at the time the trigger fires

(((bank_size_baw * perc_bet_baw) + add) / (back_price - 1))  / 0.95

however, I can see a problem with using a "live" formula like this for in-play betting; because prices move at lightning speed in-play, there is a chance there will be no price available, in which case the formula will error. It won't happen all the time, but I'm sure at some point it will.

If you are using recovery, it would be better to set a user variable with the amount, and that is "fixed" in the formula before the betting trigger fires. Have a look at some staking plans here to see what I mean:
http://marketfeederpro.com/learn/triggers/by-tag/tags/staking-plan/

I think if you are unsure about this and want your formula to be written in to you trigger, you could use the trigger development service. You have a quota of free triggers available to you.
http://marketfeederpro.com/learn/triggers/trigger-development-service/

   
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