I've been using your bot. It's worked a treat generally but I've hit a few issues.
I've adapted it to take 20% not 50%. I've also adapted it to take the SP. These work fine.
My problem is that:
It sends bets in too late. I'm getting some trades returning up to 37%, but mostly 25-ish. This works the other way, in that the trade doesnt match and I've lost two trades which should have won where there was plenty liquidity to lay.
Yesterday, I had 100 at 2.3 BSP. 2x lays went in at 1.91 and 1.99. Then it tried to place a back bet @2.5 which didn't get matched. I ended up greening £1.92 on that horse and it went on to win.
Also, what do you make of this:
Should have been a green trade, ended up losing £70. SP was 9.88. I only got matched a lay of £30.93 @6.6013/05/2017 18:14:00: Market changed to Thirsk 13th May - 18:15 5f Hcap
13/05/2017 18:14:54: [G_Auto] : £ 100.00 Back bet placed on Storm Trooper at 18. Entirely unmatched when it initially reached the market. Ref: 92767569152
13/05/2017 18:14:56: [G_Auto] : Modify bet persistence 92767569152 from 'Cancel' to 'Take SP'
13/05/2017 18:15:59: Market has been suspended
13/05/2017 18:16:01: Market is in-play
13/05/2017 18:16:01: Market has been unsuspended
13/05/2017 18:16:31: [G_Auto] : Placed closure bet with greening on Storm Trooper by Laying 149.64 at 6.6
13/05/2017 18:16:34: [G_Auto] : An error occurred while Placing closure bet with greening on Storm Trooper by Laying 91.10 at 8.6 [8.6_91.1]: The order cannot be processed as your betfair account does not have enough funds (or has exceeded its exposure limit).
13/05/2017 18:16:34: [G_Auto] : Cancelling bets 92767840306
13/05/2017 18:16:59: Market has been suspended
Is there any way for it to put in a lay straight after my back bet is matched. Just a simple 100 @ 5.0.. 120 @4.0 etc ?
I just need the 20% and that's it, it's not working for bet angel to wait around for the market to drop and then placing a bet.
Thank You