
My bot currently greens up 15 times (hitting a nut with a mallet

2/4/2018 09:10:48: Guardian has detected that the market is in-play
2/4/2018 09:10:48: Guardian has detected that the market is suspended
2/4/2018 09:10:52: Guardian has detected that the market is now unsuspended
2/4/2018 10:59:05: [G_Auto] : Automation Signal for Alexander Vasilenko: Backed = 1
2/4/2018 10:59:10: [G_Auto] : $ 10.00 Back bet placed on Alexander Vasilenko at 1.47. Fully matched at 1.72. Ref: 115538946572 ( Fill or kill bet with 30 seconds delay. )
2/4/2018 11:00:07: [G_Auto] : Automation Signal for Alexander Vasilenko: 40_All = 1
2/4/2018 11:00:12: [G_Auto] : Placed closure bet with greening on Alexander Vasilenko by Laying 6.99 at 2.46 (example 1)
2/4/2018 11:00:19: [G_Auto] : Automation Signal for Alexander Vasilenko: 40_All = 1
2/4/2018 11:00:19: [G_Auto] : Cancelling bets 115539020210
2/4/2018 11:00:24: [G_Auto] : Placed closure bet with greening on Alexander Vasilenko by Laying 6.47 at 2.66 (example 2)
2/4/2018 11:00:29: [G_Auto] : Automation Signal for Alexander Vasilenko: 40_All = 1
2/4/2018 11:00:40: [G_Auto] : Placed closure bet with greening on Alexander Vasilenko by Laying 2.59 at 3.2 (anomaly example 3)
So in the log above you can see example 1 green/red up was executed correctly and cancelled, the example 2 green/red up was executed correctly..all good..then example 3 green/red up is executed(and matched) which put me further into loss/unbalanced situation than I should have been. My bot detected an unrelated changed condition later in the match and did a green/red up for a +/- $6 loss-presumably to even up the deficit created earlier.My questions are:1. Why was the example 3 green up executed at all? 2.With the odds sitting at 3.2 why was the stake calculated at $2.59? I thought that (perhaps this applies to both questions) there was a partial match and therefore there was a need for another green up and a change of stake? If this is the case would there not be a cancelled bet notification in the log? The only suggestion I can come to is that there was a partial match on example 2 and example 3 executed just as the balance of example 2 was matched - matched bets show the whole 6.47 matched(not divided at all- this is as you would expect). If this is the case I am thinking that I need to increase my 10 sec delay to 12 and hope that helps but still would have thought there would be a cancel bet as part of the green up in example 3?


Edit: I think I might have it




