Is it me?
I have a spreadsheet that generates a lay bet with offset and greening (with fill or kill in place). However, very occasionally, the lay bet is taken and does not generate the offset back bet. I use it when trading in-play. Does this happen to anyone else? Is there something in my set up that could cause this? It happens often enough that I can't leave my spreadsheet unattended, which is my ultimate goal.
OK, I've got a log from the 14.40 at Wolverhampton. I've included the whole thing for completeness; but the relevant bet is 48338644958 of £5.24 on Lashkaal at 14:42:06 towards the end. At 14:42:09 this shown as being killed in its entirety. After the log I've included an extract from my Betfair statement which shows that ...4958 was in fact matched.
2/04/2015 14:37:00: Market changed to Wolv 2nd Apr - 14:40 1m1f Hcap
02/04/2015 14:41:44: Market has been suspended
02/04/2015 14:41:45: Market is in-play
02/04/2015 14:41:46: Market has been unsuspended
02/04/2015 14:41:52: £ 2.47 Lay bet placed on Twice Certain at 18. Entirely unmatched when it initially reached the market. Ref: 48338631942 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:41:52: £ 4.67 Lay bet placed on Lashkaal at 10. Entirely unmatched when it initially reached the market. Ref: 48338631944 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:41:52: £ 6.00 Lay bet placed on Todegica at 8. Entirely unmatched when it initially reached the market. Ref: 48338631945 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:41:52: £ 10.00 Lay bet placed on Affileo at 5.2. Entirely unmatched when it initially reached the market. Ref: 48338631941 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:41:54: £ 10 of unmatched bet (Ref:48338631941) was filled before remainder was killed.
02/04/2015 14:41:55: £ 9.81 Back bet placed on Affileo at 5.3. Entirely unmatched when it initially reached the market. Ref: 48338635495
02/04/2015 14:41:56: £ 6 unmatched bet (Ref:48338631945) was killed.
02/04/2015 14:41:56: £ 4.67 unmatched bet (Ref:48338631944) was killed.
02/04/2015 14:41:56: £ 2.47 unmatched bet (Ref:48338631942) was killed.
02/04/2015 14:41:57: £ 10.24 Lay bet placed on Affileo at 5.2. Entirely unmatched when it initially reached the market. Ref: 48338637556 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:41:58: £ 6.32 Lay bet placed on Todegica at 7.8. Entirely unmatched when it initially reached the market. Ref: 48338638046 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:41:58: £ 2.39 Lay bet placed on Twice Certain at 19. Entirely unmatched when it initially reached the market. Ref: 48338638565 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:41:58: £ 4.89 Lay bet placed on Lashkaal at 9.8. Entirely unmatched when it initially reached the market. Ref: 48338638563 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:00: £ 6.95 of unmatched bet (Ref:48338637556) was filled before remainder was killed.
02/04/2015 14:42:01: £ 6.32 unmatched bet (Ref:48338638046) was killed.
02/04/2015 14:42:01: £ 6.82 Back bet placed on Affileo at 5.3. Fully matched at 5.7. Ref: 48338641110
02/04/2015 14:42:01: £ 4.89 unmatched bet (Ref:48338638563) was killed.
02/04/2015 14:42:01: £ 2.39 unmatched bet (Ref:48338638565) was killed.
02/04/2015 14:42:03: £ 9.35 Lay bet placed on Affileo at 5.6. Entirely unmatched when it initially reached the market. Ref: 48338642117 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:03: £ 5.97 Lay bet placed on Todegica at 8.2. Entirely unmatched when it initially reached the market. Ref: 48338642118 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:03: £ 5.12 Lay bet placed on Lashkaal at 9.4. Entirely unmatched when it initially reached the market. Ref: 48338642526 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:03: £ 9.35 of unmatched bet (Ref:48338642117) was filled before remainder was killed.
02/04/2015 14:42:03: £ 2.26 Lay bet placed on Twice Certain at 20. Entirely unmatched when it initially reached the market. Ref: 48338642585 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:04: £ 5.12 of unmatched bet (Ref:48338642526) was filled before remainder was killed.
02/04/2015 14:42:04: £ 9.19 Back bet placed on Affileo at 5.7. Fully matched at 5.72285092491839. Ref: 48338643499
02/04/2015 14:42:05: £ 5.01 Back bet placed on Lashkaal at 9.6. Fully matched at 9.6. Ref: 48338643944
02/04/2015 14:42:05: £ 5.97 of unmatched bet (Ref:48338642118) was filled before remainder was killed.
02/04/2015 14:42:06: £ 9.15 Lay bet placed on Affileo at 5.7. Entirely unmatched when it initially reached the market. Ref: 48338644614 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:06: £ 5.24 Lay bet placed on Lashkaal at 9.2. Entirely unmatched when it initially reached the market. Ref: 48338644958 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:06: £ 2.26 unmatched bet (Ref:48338642585) was killed.
02/04/2015 14:42:06: £ 5.83 Back bet placed on Todegica at 8.4. Entirely unmatched when it initially reached the market. Ref: 48338645267
02/04/2015 14:42:08: £ 2.32 Lay bet placed on Twice Certain at 19.5. Entirely unmatched when it initially reached the market. Ref: 48338647081 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:09: £ 9.15 unmatched bet (Ref:48338644614) was killed.
02/04/2015 14:42:09: £ 5.24 unmatched bet (Ref:48338644958) was killed.
02/04/2015 14:42:11: £ 8.96 Lay bet placed on Affileo at 5.8. Entirely unmatched when it initially reached the market. Ref: 48338649254 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:11: £ 2.32 unmatched bet (Ref:48338647081) was killed.
02/04/2015 14:42:13: £ 2.32 Lay bet placed on Twice Certain at 19.5. Entirely unmatched when it initially reached the market. Ref: 48338652400 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:13: £ 6.14 Lay bet placed on Todegica at 8. Fully matched at 7.6. Ref: 48338652362 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:14: £ 8.96 unmatched bet (Ref:48338649254) was killed.
02/04/2015 14:42:15: £ 5.98 Back bet placed on Todegica at 7.8. Entirely unmatched when it initially reached the market. Ref: 48338653710
02/04/2015 14:42:16: £ 8.60 Lay bet placed on Affileo at 6. Entirely unmatched when it initially reached the market. Ref: 48338654913 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:16: £ 2.32 of unmatched bet (Ref:48338652400) was filled before remainder was killed.
02/04/2015 14:42:17: £ 2.26 Back bet placed on Twice Certain at 20. Entirely unmatched when it initially reached the market. Ref: 48338655821
02/04/2015 14:42:19: £ 8.6 unmatched bet (Ref:48338654913) was killed.
02/04/2015 14:42:20: £ 2.53 Lay bet placed on Twice Certain at 18. Entirely unmatched when it initially reached the market. Ref: 48338659464 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:21: £ 7.68 Lay bet placed on Affileo at 6.6. Entirely unmatched when it initially reached the market. Ref: 48338659872 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:23: £ 7.68 of unmatched bet (Ref:48338659872) was filled before remainder was killed.
02/04/2015 14:42:24: £ 2.53 unmatched bet (Ref:48338659464) was killed.
02/04/2015 14:42:25: £ 7.45 Back bet placed on Affileo at 6.8. Fully matched at 7. Ref: 48338664693
02/04/2015 14:42:43: Placed closure bet on Lashkaal by Backing 5.35 at 4.9
02/04/2015 14:43:44: Market has been suspended
EXTRACT FROM BETFAIR STATEMENT
2015-04-02
14:44 48338680330 2015-04-02
14:42 GB Wolv 2nd Apr / 14:40 1m1f Hcap / Lashkaal
Back 5.20 5.35 Lost (5.35) 43.29
2015-04-02
14:44 48338644958 2015-04-02
14:42 GB Wolv 2nd Apr / 14:40 1m1f Hcap / Lashkaal
Lay 9.20 5.24 Won 5.24 48.64
2015-04-02
14:44 48338643944 2015-04-02
14:42 GB Wolv 2nd Apr / 14:40 1m1f Hcap / Lashkaal
Back 9.60 5.01 Lost (5.01) 43.40
2015-04-02
14:44 48338642526 2015-04-02
14:42 GB Wolv 2nd Apr / 14:40 1m1f Hcap / Lashkaal
Lay 9.40 5.12 Won 5.12 48.41
2/04/2015 14:37:00: Market changed to Wolv 2nd Apr - 14:40 1m1f Hcap
02/04/2015 14:41:44: Market has been suspended
02/04/2015 14:41:45: Market is in-play
02/04/2015 14:41:46: Market has been unsuspended
02/04/2015 14:41:52: £ 2.47 Lay bet placed on Twice Certain at 18. Entirely unmatched when it initially reached the market. Ref: 48338631942 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:41:52: £ 4.67 Lay bet placed on Lashkaal at 10. Entirely unmatched when it initially reached the market. Ref: 48338631944 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:41:52: £ 6.00 Lay bet placed on Todegica at 8. Entirely unmatched when it initially reached the market. Ref: 48338631945 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:41:52: £ 10.00 Lay bet placed on Affileo at 5.2. Entirely unmatched when it initially reached the market. Ref: 48338631941 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:41:54: £ 10 of unmatched bet (Ref:48338631941) was filled before remainder was killed.
02/04/2015 14:41:55: £ 9.81 Back bet placed on Affileo at 5.3. Entirely unmatched when it initially reached the market. Ref: 48338635495
02/04/2015 14:41:56: £ 6 unmatched bet (Ref:48338631945) was killed.
02/04/2015 14:41:56: £ 4.67 unmatched bet (Ref:48338631944) was killed.
02/04/2015 14:41:56: £ 2.47 unmatched bet (Ref:48338631942) was killed.
02/04/2015 14:41:57: £ 10.24 Lay bet placed on Affileo at 5.2. Entirely unmatched when it initially reached the market. Ref: 48338637556 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:41:58: £ 6.32 Lay bet placed on Todegica at 7.8. Entirely unmatched when it initially reached the market. Ref: 48338638046 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:41:58: £ 2.39 Lay bet placed on Twice Certain at 19. Entirely unmatched when it initially reached the market. Ref: 48338638565 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:41:58: £ 4.89 Lay bet placed on Lashkaal at 9.8. Entirely unmatched when it initially reached the market. Ref: 48338638563 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:00: £ 6.95 of unmatched bet (Ref:48338637556) was filled before remainder was killed.
02/04/2015 14:42:01: £ 6.32 unmatched bet (Ref:48338638046) was killed.
02/04/2015 14:42:01: £ 6.82 Back bet placed on Affileo at 5.3. Fully matched at 5.7. Ref: 48338641110
02/04/2015 14:42:01: £ 4.89 unmatched bet (Ref:48338638563) was killed.
02/04/2015 14:42:01: £ 2.39 unmatched bet (Ref:48338638565) was killed.
02/04/2015 14:42:03: £ 9.35 Lay bet placed on Affileo at 5.6. Entirely unmatched when it initially reached the market. Ref: 48338642117 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:03: £ 5.97 Lay bet placed on Todegica at 8.2. Entirely unmatched when it initially reached the market. Ref: 48338642118 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:03: £ 5.12 Lay bet placed on Lashkaal at 9.4. Entirely unmatched when it initially reached the market. Ref: 48338642526 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:03: £ 9.35 of unmatched bet (Ref:48338642117) was filled before remainder was killed.
02/04/2015 14:42:03: £ 2.26 Lay bet placed on Twice Certain at 20. Entirely unmatched when it initially reached the market. Ref: 48338642585 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:04: £ 5.12 of unmatched bet (Ref:48338642526) was filled before remainder was killed.
02/04/2015 14:42:04: £ 9.19 Back bet placed on Affileo at 5.7. Fully matched at 5.72285092491839. Ref: 48338643499
02/04/2015 14:42:05: £ 5.01 Back bet placed on Lashkaal at 9.6. Fully matched at 9.6. Ref: 48338643944
02/04/2015 14:42:05: £ 5.97 of unmatched bet (Ref:48338642118) was filled before remainder was killed.
02/04/2015 14:42:06: £ 9.15 Lay bet placed on Affileo at 5.7. Entirely unmatched when it initially reached the market. Ref: 48338644614 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:06: £ 5.24 Lay bet placed on Lashkaal at 9.2. Entirely unmatched when it initially reached the market. Ref: 48338644958 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:06: £ 2.26 unmatched bet (Ref:48338642585) was killed.
02/04/2015 14:42:06: £ 5.83 Back bet placed on Todegica at 8.4. Entirely unmatched when it initially reached the market. Ref: 48338645267
02/04/2015 14:42:08: £ 2.32 Lay bet placed on Twice Certain at 19.5. Entirely unmatched when it initially reached the market. Ref: 48338647081 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:09: £ 9.15 unmatched bet (Ref:48338644614) was killed.
02/04/2015 14:42:09: £ 5.24 unmatched bet (Ref:48338644958) was killed.
02/04/2015 14:42:11: £ 8.96 Lay bet placed on Affileo at 5.8. Entirely unmatched when it initially reached the market. Ref: 48338649254 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:11: £ 2.32 unmatched bet (Ref:48338647081) was killed.
02/04/2015 14:42:13: £ 2.32 Lay bet placed on Twice Certain at 19.5. Entirely unmatched when it initially reached the market. Ref: 48338652400 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:13: £ 6.14 Lay bet placed on Todegica at 8. Fully matched at 7.6. Ref: 48338652362 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:14: £ 8.96 unmatched bet (Ref:48338649254) was killed.
02/04/2015 14:42:15: £ 5.98 Back bet placed on Todegica at 7.8. Entirely unmatched when it initially reached the market. Ref: 48338653710
02/04/2015 14:42:16: £ 8.60 Lay bet placed on Affileo at 6. Entirely unmatched when it initially reached the market. Ref: 48338654913 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:16: £ 2.32 of unmatched bet (Ref:48338652400) was filled before remainder was killed.
02/04/2015 14:42:17: £ 2.26 Back bet placed on Twice Certain at 20. Entirely unmatched when it initially reached the market. Ref: 48338655821
02/04/2015 14:42:19: £ 8.6 unmatched bet (Ref:48338654913) was killed.
02/04/2015 14:42:20: £ 2.53 Lay bet placed on Twice Certain at 18. Entirely unmatched when it initially reached the market. Ref: 48338659464 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:21: £ 7.68 Lay bet placed on Affileo at 6.6. Entirely unmatched when it initially reached the market. Ref: 48338659872 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
02/04/2015 14:42:23: £ 7.68 of unmatched bet (Ref:48338659872) was filled before remainder was killed.
02/04/2015 14:42:24: £ 2.53 unmatched bet (Ref:48338659464) was killed.
02/04/2015 14:42:25: £ 7.45 Back bet placed on Affileo at 6.8. Fully matched at 7. Ref: 48338664693
02/04/2015 14:42:43: Placed closure bet on Lashkaal by Backing 5.35 at 4.9
02/04/2015 14:43:44: Market has been suspended
EXTRACT FROM BETFAIR STATEMENT
2015-04-02
14:44 48338680330 2015-04-02
14:42 GB Wolv 2nd Apr / 14:40 1m1f Hcap / Lashkaal
Back 5.20 5.35 Lost (5.35) 43.29
2015-04-02
14:44 48338644958 2015-04-02
14:42 GB Wolv 2nd Apr / 14:40 1m1f Hcap / Lashkaal
Lay 9.20 5.24 Won 5.24 48.64
2015-04-02
14:44 48338643944 2015-04-02
14:42 GB Wolv 2nd Apr / 14:40 1m1f Hcap / Lashkaal
Back 9.60 5.01 Lost (5.01) 43.40
2015-04-02
14:44 48338642526 2015-04-02
14:42 GB Wolv 2nd Apr / 14:40 1m1f Hcap / Lashkaal
Lay 9.40 5.12 Won 5.12 48.41
- marksmeets302
- Posts: 527
- Joined: Thu Dec 10, 2009 4:37 pm
Linus - Are you saying that if you request a size reduction by amount X, and you receive a BET_TAKEN_OR_LAPSED error the amount matched equals X - cancelReport.sizeCancelled?
I've never looked at it that way, but seems obvious now
Even spoke to bdp about this, asking them if they could include a matchedAmount in the CancelReport because otherwise you would have to wait for a new market book coming in. Funny thing is they said they would consider it. If you're right it was there all along. This would simplify things a lot!
I've never looked at it that way, but seems obvious now
