Hi,
Looking for a bit of help with a bot please. It doesn't always green up as it should.
So I have set it to green up at a profit of £0.10 for the purposes of testing. Below is a log of what happened earlier:
16/11/2021 11:55:00: [G_Auto 1] : £ 2.00 Back bet placed on Auditoria at 2.06. Fully matched at 2.14. Ref: 10000 ( Fill or kill bet with 60 seconds delay. Offsetting by 1 ticks. )
16/11/2021 11:55:00: [G_Auto 1] : £ 2.00 Lay bet placed on Auditoria at 2.12. Entirely unmatched when it initially reached the market. Ref: 10001
16/11/2021 11:58:30: [G_Auto 1] : £ 2.00 Back bet placed on Miss Mulligan at 3. Fully matched at 3.2. Ref: 10002 ( Fill or kill bet with 60 seconds delay. Offsetting by 1 ticks. )
16/11/2021 11:58:30: [G_Auto 1] : £ 2.00 Lay bet placed on Miss Mulligan at 3.15. Entirely unmatched when it initially reached the market. Ref: 10003
16/11/2021 11:58:46: [G_Auto 1] : £ 2.00 Back bet placed on Miss Mulligan at 2.98. Fully matched at 3.15. Ref: 10004 ( Fill or kill bet with 60 seconds delay. Offsetting by 1 ticks. )
16/11/2021 11:58:46: [G_Auto 1] : £ 2.00 Lay bet placed on Miss Mulligan at 3.1. Entirely unmatched when it initially reached the market. Ref: 10005
16/11/2021 12:03:02: [G_Auto 1] : £ 2.00 Back bet placed on Terresita at 9.2. Fully matched at 10. Ref: 10008 ( Fill or kill bet with 60 seconds delay. Offsetting by 1 ticks. )
16/11/2021 12:03:02: [G_Auto 1] : £ 2.00 Lay bet placed on Terresita at 9.8. Entirely unmatched when it initially reached the market. Ref: 10009
16/11/2021 12:04:42: [G_Auto 1] : Greened up Auditoria by Laying 0.02 at 2.14
16/11/2021 12:04:42: [G_Auto 1] : Greened up Miss Mulligan by Laying 0.06 at 3.3
16/11/2021 12:04:42: [G_Auto 1] : Greened up Terresita by Laying 2.04 at 9.8
It appears that its laying the green up money (4p) plus the stake (£2) on the last greening up bet. Is there a way around this please as it currently means I would have to set a corresponding back bet just to green up which the bot isn't doing? Can I "offset with greening" on any horse and keep the bot going until it reaches the combined profit or will "offset with greening" just stop the bot if I get a greening up scenario even if it is under my target profit? Is there any better way to green up?
Thanks.
Bot not greening up correctly
To get around Betfair's £2 minimum bet rule Bet Angel needs to use £2 minimum stake at the further odds away, then cancel the excess and move the remainder to that price, ie,
1 place £2 @ 1000
2 cancel £1.96
3 move remaining 0.04 to requested price
However because this is effectively 2 transactions there are times when the selection might hit 1000 before steps 2 and 3 are done which will then cause a loss, but without that you just wouldn't have any way of placing sub £2 bets placing any bet below.
You could use offset bet with greening rather than greening up at the end and that should keep all your bets above the £2 minimum
1 place £2 @ 1000
2 cancel £1.96
3 move remaining 0.04 to requested price
However because this is effectively 2 transactions there are times when the selection might hit 1000 before steps 2 and 3 are done which will then cause a loss, but without that you just wouldn't have any way of placing sub £2 bets placing any bet below.
You could use offset bet with greening rather than greening up at the end and that should keep all your bets above the £2 minimum
Thanks again Dallas (I'm just going to call you the Oracle from now on ).Dallas wrote: ↑Tue Nov 16, 2021 2:20 pmTo get around Betfair's £2 minimum bet rule Bet Angel needs to use £2 minimum stake at the further odds away, then cancel the excess and move the remainder to that price, ie,
1 place £2 @ 1000
2 cancel £1.96
3 move remaining 0.04 to requested price
However because this is effectively 2 transactions there are times when the selection might hit 1000 before steps 2 and 3 are done which will then cause a loss, but without that you just wouldn't have any way of placing sub £2 bets placing any bet below.
You could use offset bet with greening rather than greening up at the end and that should keep all your bets above the £2 minimum
In that case I will just use the offset with greening. From what I tried earlier it doesn't seem to impact on my "Green all if profit > 10p" (unless I'm mistaken???) and will keep betting and matching until the 10p profit is hit and then hedges.
I did notice that sometimes it tries to fire another bet in after the 10p is hit but it cancels it, so I'm looking at setting a signal that has a value when the 10p is hit and then the other rules (backing and hedging) kick in when that value is either set (hedging)/ not set (backing). Is that the best way of going about the above problem where it places bets after the profit is hit?
Thanks again.