Back or Lay at Betfair SP Guardian Automation Bot
This is a new line in the log - no idea what it means
22/09/2020 12:59:01: [G_Auto] : £ 2.00 Back bet placed on Charlie Fellowes at 200. Entirely unmatched when it initially reached the market. Ref: 211860977236
22/09/2020 12:59:50: [G_Auto] : Modify bet persistence 211860977236 from 'Cancel' to 'Take SP'
22/09/2020 12:59:01: [G_Auto] : £ 2.00 Back bet placed on Charlie Fellowes at 200. Entirely unmatched when it initially reached the market. Ref: 211860977236
22/09/2020 12:59:50: [G_Auto] : Modify bet persistence 211860977236 from 'Cancel' to 'Take SP'
The log is showing the bet was marked as take sp and there is nothing returned from BF to say they rejected itBally wrote: ↑Tue Sep 22, 2020 1:10 pmThis is a new line in the log - no idea what it means
22/09/2020 12:59:01: [G_Auto] : £ 2.00 Back bet placed on Charlie Fellowes at 200. Entirely unmatched when it initially reached the market. Ref: 211860977236
22/09/2020 12:59:50: [G_Auto] : Modify bet persistence 211860977236 from 'Cancel' to 'Take SP'
Which market was this on?
Also where are you betting from?
You won't be able to do both at the same time, you could use the Projected SP and trigger the rule as close to the off as possible
for example if you only want the rule to trigger if the SP odds are below 20.0
Add a fixed odds condition
Projected SP
is less than 18.0
(that allows a bit of leeway should it be on or around 20)
I would like Betangel to calculate the stake I would need if I placed a Liability Back bet at the Current Best Reverse Price, but place the actual bet a number of ticks (to be determined) above Current Best Reverse Price, then have Take SP always armed, and continually update as the price moves, from 30secs out up to the actual off time, and if possible spread the bets to hide them within the liquidity available. It is doable but I need someone to take me through the process of setting up the automation.
- ShaunWhite
- Posts: 9731
- Joined: Sat Sep 03, 2016 3:42 am
If you're always updating them when the price moves, and always placing them X away, then you might as well put them at 1.01 and 1000 because they'll never be hit?
But otherwise your logic is sound and this place/replace method is the way to do it. One other small issue, the place/replace on your sp bet needs to allow for some sort of threshold. If you do it too often then #transactions can be an issue but it also increases the chance the race will start between the cancel and the replace, or the place new/cancel old whichever way you choose to do it. There's quite often an ultra late move that triggers a re-stake of your sp bet. I'm assuming Guardian would have this potential gap when you could have no bet or two but they'll even out. The method I use allows transactions to be grouped so that none or all are processed by BF (my cancel and replace go though as a pair) but I don't think Guardian has that functionality so it could be a limitation you have to live with.
...If you want a clean-ish hedge at bsp then rather than calculating the stake at best reverse price, calculate it at the mid price because BSP will be closer to that than anything else.
But otherwise your logic is sound and this place/replace method is the way to do it. One other small issue, the place/replace on your sp bet needs to allow for some sort of threshold. If you do it too often then #transactions can be an issue but it also increases the chance the race will start between the cancel and the replace, or the place new/cancel old whichever way you choose to do it. There's quite often an ultra late move that triggers a re-stake of your sp bet. I'm assuming Guardian would have this potential gap when you could have no bet or two but they'll even out. The method I use allows transactions to be grouped so that none or all are processed by BF (my cancel and replace go though as a pair) but I don't think Guardian has that functionality so it could be a limitation you have to live with.
...If you want a clean-ish hedge at bsp then rather than calculating the stake at best reverse price, calculate it at the mid price because BSP will be closer to that than anything else.
Why is the "Take SP" option not working as expected?
I placed a £100 bet pre off and then I place a £100 lay bet way below the current price and select "Take SP", why does my Lay bet stake come out at less than the £100 I selected, and not get fully matched, only £78 was matched?
This is in Practice Mode, would it work properly if trading Live?
Also the Log does not record or show the SP lay bets that were matched.
22/08/2021 15:10:00: £ 100.00 Back bet placed on Fix Sun at 3.75. Fully matched at 4.1. Ref: 10007
22/08/2021 15:10:04: £ 100.00 Lay bet placed on Fix Sun at 3.35. Entirely unmatched when it initially reached the market. Ref: 10008
22/08/2021 15:10:05: Modify bet persistence 10008 from 'Cancel' to 'Take SP'
22/08/2021 15:10:12: Market has been suspended
22/08/2021 15:10:13: Market is in-play
22/08/2021 15:10:13: Market has been unsuspended
22/08/2021 15:14:04: Market has been suspended
I placed a £100 bet pre off and then I place a £100 lay bet way below the current price and select "Take SP", why does my Lay bet stake come out at less than the £100 I selected, and not get fully matched, only £78 was matched?
This is in Practice Mode, would it work properly if trading Live?
Also the Log does not record or show the SP lay bets that were matched.
22/08/2021 15:10:00: £ 100.00 Back bet placed on Fix Sun at 3.75. Fully matched at 4.1. Ref: 10007
22/08/2021 15:10:04: £ 100.00 Lay bet placed on Fix Sun at 3.35. Entirely unmatched when it initially reached the market. Ref: 10008
22/08/2021 15:10:05: Modify bet persistence 10008 from 'Cancel' to 'Take SP'
22/08/2021 15:10:12: Market has been suspended
22/08/2021 15:10:13: Market is in-play
22/08/2021 15:10:13: Market has been unsuspended
22/08/2021 15:14:04: Market has been suspended
You do not have the required permissions to view the files attached to this post.
Last edited by gstar1975 on Sun Aug 22, 2021 3:24 pm, edited 1 time in total.
Its working exactly right, it will use a stake so as not to exceed your original liabilitygstar1975 wrote: ↑Sun Aug 22, 2021 3:16 pmWhy is the "Take SP" option not working as expected?
I placed a £100 bet pre off and then I place a £100 lay bet way below the current price and select "Take SP", why does my Lay bet stake come out at less than the £100 I selected, and not get fully matched, only £78 was matched?
This is in Practice Mode, would it work properly if trading Live?
Take SP not working as expected.jpg
£100 @ 3.35 = £225 liability
£78.33 @ 4.0 = £225 liability
If it didn't do that you'd have no control over the liability you may be accepting
So how do I get around this? Its sounds simple what I would like to achieve. I just want to put in a Back bet pre off and then take that Stake back out at BSP.Dallas wrote: ↑Sun Aug 22, 2021 3:22 pmIts working exactly right, it will use a stake so as not to exceed your original liabilitygstar1975 wrote: ↑Sun Aug 22, 2021 3:16 pmWhy is the "Take SP" option not working as expected?
I placed a £100 bet pre off and then I place a £100 lay bet way below the current price and select "Take SP", why does my Lay bet stake come out at less than the £100 I selected, and not get fully matched, only £78 was matched?
This is in Practice Mode, would it work properly if trading Live?
Take SP not working as expected.jpg
£100 @ 3.35 = £225 liability
£78.33 @ 4.0 = £225 liability
If it didn't do that you'd have no control over the liability you may be accepting
-
- Posts: 91
- Joined: Fri Nov 09, 2018 11:22 am
Sounds like you may need to put your support to this as this will fix it viewtopic.php?f=20&t=24070