Sorry, I probably misplaced the thread on the "General betting" forum, that can be deleted/closed (http://forum.bdp.betfair.com/showthread.php?t=2949).
---
Hi everyone,
I am trying to find a way to be the first one (or nearly) to place a bet on a market, as soon as it is created, but I often find some other money before mine.
I have tried 2 ways:
- requesting in a cycle the list of events, as soon as I see a new event, I request the market catalogue for that event ID and I get the necessary info (market IDs and market types) to request the detailed markets books and place orders;
- requesting in a cycle the market catalogue for the market types I'm interested in (less than 1000), as soon as I see new markets I request the detailed market catalogue for those market IDs (I need the market type as the first request was for multiple types), then the market book and place orders.
The markets seem to appear first on the list of markets filtered by type, but then the detailed market description cannot be retrieved immediately (case 2).
In the end, it takes a lot of seconds to place an order, since I spotted the new event ID or market ID.
Any idea on the subject?
Thanks
---
Below the comparison between refreshing the list of events (case 1) and then requesting the market catalogue for the new events and refreshing the list of markets and then requesting the detailed market catalogue (case 2).
All times are UTC+2.
In the case 2:
- step 1 is a listMarketCatalogue filtering by the new market IDs and without runner description
- step 2 is a listMarketCatalogue filtering by the new market IDs with runner description
- step 3 is a listMarketCatalogue filtering by eventID and without runner description
The step 3 of the case 2 is the same request as the case 1, I only found out the new event ID in a different way. It's very weird to notice that the two processes have a non-empty response to that call at very different times
(on the first example, the step 3 retrieves results at 14:11:42, while the case 1 at 14:12:04).
CASE 1:
2015-08-20 14:11:40 New event 27517723 added
2015-08-20 14:11:40 Checking market catalogue for the event 27517723
2015-08-20 14:11:54 Checking market catalogue for the event 27517723
2015-08-20 14:11:56 Checking market catalogue for the event 27517723
2015-08-20 14:11:58 Checking market catalogue for the event 27517723
2015-08-20 14:11:59 Checking market catalogue for the event 27517723
2015-08-20 14:12:04 Checking market catalogue for the event 27517723
2015-08-20 14:12:06 Running thread to place orders on the events 27517723 (types 7) and markets 1.120158240, 1.120158239, 1.120158243, 1.120158244, 1.120158247, 1.120158248, 1.120158252, 1.120158251, 1.120158255, 1.120158256, 1.120158260, 1.120158259, 1.120158263, 1.120158264
CASE 2:
2015-08-20 14:11:39 Step 2 success for 1.120158264, 1.120158263, 1.120158259, 1.120158260, 1.120158256, 1.120158255, 1.120158251, 1.120158252, 1.120158248, 1.120158247, 1.120158244, 1.120158243, 1.120158239, 1.120158240
2015-08-20 14:11:42 Step 1 success for 1.120158264, 1.120158263, 1.120158259, 1.120158260, 1.120158256, 1.120158255, 1.120158251, 1.120158252, 1.120158248, 1.120158247, 1.120158244, 1.120158243, 1.120158239, 1.120158240
2015-08-20 14:11:42 Step 3 success for 1.120158264, 1.120158263, 1.120158259, 1.120158260, 1.120158256, 1.120158255, 1.120158251, 1.120158252, 1.120158248, 1.120158247, 1.120158244, 1.120158243, 1.120158239, 1.120158240
---
CASE 1:
2015-08-20 14:25:54 New event 27517771 added
2015-08-20 14:25:59 Checking market catalogue for the event 27517771
2015-08-20 14:26:00 Running thread to place orders on the events 27517771 (types 7) and markets 1.120159964, 1.120159965, 1.120159968, 1.120159969, 1.120159972, 1.120159973, 1.120159976, 1.120159977, 1.120159980, 1.120159981, 1.120159985, 1.120159984, 1.120159989, 1.120159988
CASE 2:
2015-08-20 14:25:53 Step 2 success for 1.120159988, 1.120159989, 1.120159984, 1.120159985, 1.120159981, 1.120159980, 1.120159977, 1.120159976, 1.120159973, 1.120159972, 1.120159969, 1.120159968, 1.120159965, 1.120159964
2015-08-20 14:25:54 Step 1 success for 1.120159988, 1.120159989, 1.120159984, 1.120159985, 1.120159981, 1.120159980, 1.120159977, 1.120159976, 1.120159973, 1.120159972, 1.120159969, 1.120159968, 1.120159965, 1.120159964
2015-08-20 14:25:57 Step 3 success for 1.120159988, 1.120159989, 1.120159984, 1.120159985, 1.120159981, 1.120159980, 1.120159977, 1.120159976, 1.120159973, 1.120159972, 1.120159969, 1.120159968, 1.120159965, 1.120159964
---
CASE 1:
2015-08-20 14:26:56 New event 27517750 added
2015-08-20 14:26:56 Checking market catalogue for the event 27517750
2015-08-20 14:26:59 Checking market catalogue for the event 27517750
2015-08-20 14:27:02 Checking market catalogue for the event 27517750
2015-08-20 14:27:17 Checking market catalogue for the event 27517750
2015-08-20 14:27:22 Running thread to place orders on the events 27517750 (types 7) and markets 1.120159772, 1.120159771, 1.120159776, 1.120159775, 1.120159779, 1.120159780, 1.120159783, 1.120159784, 1.120159787, 1.120159788, 1.120159791, 1.120159792, 1.120159796, 1.120159795
CASE 2:
2015-08-20 14:26:59 Step 3 success for 1.120159795, 1.120159796, 1.120159792, 1.120159791, 1.120159788, 1.120159787, 1.120159784, 1.120159783, 1.120159780, 1.120159779, 1.120159775, 1.120159776, 1.120159771, 1.120159772
2015-08-20 14:27:00 Step 2 success for 1.120159795, 1.120159796, 1.120159792, 1.120159791, 1.120159788, 1.120159787, 1.120159784, 1.120159783, 1.120159780, 1.120159779, 1.120159775, 1.120159776, 1.120159771, 1.120159772
2015-08-20 14:27:03 Step 1 success for 1.120159795, 1.120159796, 1.120159792, 1.120159791, 1.120159788, 1.120159787, 1.120159784, 1.120159783, 1.120159780, 1.120159779, 1.120159775, 1.120159776, 1.120159771, 1.120159772
---
CASE 1:
2015-08-20 14:30:39 New event 27517774 added
2015-08-20 14:30:39 Checking market catalogue for the event 27517774
2015-08-20 14:30:41 Running thread to place orders on the events 27517774 (types 7) and markets 1.120160001, 1.120159999, 1.120160006, 1.120160005, 1.120160011, 1.120160012, 1.120160017, 1.120160016, 1.120160021, 1.120160023, 1.120160027, 1.120160028, 1.120160034, 1.120160037
CASE 2:
2015-08-20 14:30:38 Step 2 success for 1.120160037, 1.120160034, 1.120160028, 1.120160027, 1.120160023, 1.120160021, 1.120160016, 1.120160017, 1.120160012, 1.120160011, 1.120160005, 1.120160006, 1.120159999, 1.120160001
2015-08-20 14:30:39 Step 3 success for 1.120160037, 1.120160034, 1.120160028, 1.120160027, 1.120160023, 1.120160021, 1.120160016, 1.120160017, 1.120160012, 1.120160011, 1.120160005, 1.120160006, 1.120159999, 1.120160001
2015-08-20 14:30:40 Step 1 success for 1.120160037, 1.120160034, 1.120160028, 1.120160027, 1.120160023, 1.120160021, 1.120160016, 1.120160017, 1.120160012, 1.120160011, 1.120160005, 1.120160006, 1.120159999, 1.120160001
---
Hi everyone,
I am trying to find a way to be the first one (or nearly) to place a bet on a market, as soon as it is created, but I often find some other money before mine.
I have tried 2 ways:
- requesting in a cycle the list of events, as soon as I see a new event, I request the market catalogue for that event ID and I get the necessary info (market IDs and market types) to request the detailed markets books and place orders;
- requesting in a cycle the market catalogue for the market types I'm interested in (less than 1000), as soon as I see new markets I request the detailed market catalogue for those market IDs (I need the market type as the first request was for multiple types), then the market book and place orders.
The markets seem to appear first on the list of markets filtered by type, but then the detailed market description cannot be retrieved immediately (case 2).
In the end, it takes a lot of seconds to place an order, since I spotted the new event ID or market ID.
Any idea on the subject?
Thanks
---
Below the comparison between refreshing the list of events (case 1) and then requesting the market catalogue for the new events and refreshing the list of markets and then requesting the detailed market catalogue (case 2).
All times are UTC+2.
In the case 2:
- step 1 is a listMarketCatalogue filtering by the new market IDs and without runner description
- step 2 is a listMarketCatalogue filtering by the new market IDs with runner description
- step 3 is a listMarketCatalogue filtering by eventID and without runner description
The step 3 of the case 2 is the same request as the case 1, I only found out the new event ID in a different way. It's very weird to notice that the two processes have a non-empty response to that call at very different times
(on the first example, the step 3 retrieves results at 14:11:42, while the case 1 at 14:12:04).CASE 1:
2015-08-20 14:11:40 New event 27517723 added
2015-08-20 14:11:40 Checking market catalogue for the event 27517723
2015-08-20 14:11:54 Checking market catalogue for the event 27517723
2015-08-20 14:11:56 Checking market catalogue for the event 27517723
2015-08-20 14:11:58 Checking market catalogue for the event 27517723
2015-08-20 14:11:59 Checking market catalogue for the event 27517723
2015-08-20 14:12:04 Checking market catalogue for the event 27517723
2015-08-20 14:12:06 Running thread to place orders on the events 27517723 (types 7) and markets 1.120158240, 1.120158239, 1.120158243, 1.120158244, 1.120158247, 1.120158248, 1.120158252, 1.120158251, 1.120158255, 1.120158256, 1.120158260, 1.120158259, 1.120158263, 1.120158264
CASE 2:
2015-08-20 14:11:39 Step 2 success for 1.120158264, 1.120158263, 1.120158259, 1.120158260, 1.120158256, 1.120158255, 1.120158251, 1.120158252, 1.120158248, 1.120158247, 1.120158244, 1.120158243, 1.120158239, 1.120158240
2015-08-20 14:11:42 Step 1 success for 1.120158264, 1.120158263, 1.120158259, 1.120158260, 1.120158256, 1.120158255, 1.120158251, 1.120158252, 1.120158248, 1.120158247, 1.120158244, 1.120158243, 1.120158239, 1.120158240
2015-08-20 14:11:42 Step 3 success for 1.120158264, 1.120158263, 1.120158259, 1.120158260, 1.120158256, 1.120158255, 1.120158251, 1.120158252, 1.120158248, 1.120158247, 1.120158244, 1.120158243, 1.120158239, 1.120158240
---
CASE 1:
2015-08-20 14:25:54 New event 27517771 added
2015-08-20 14:25:59 Checking market catalogue for the event 27517771
2015-08-20 14:26:00 Running thread to place orders on the events 27517771 (types 7) and markets 1.120159964, 1.120159965, 1.120159968, 1.120159969, 1.120159972, 1.120159973, 1.120159976, 1.120159977, 1.120159980, 1.120159981, 1.120159985, 1.120159984, 1.120159989, 1.120159988
CASE 2:
2015-08-20 14:25:53 Step 2 success for 1.120159988, 1.120159989, 1.120159984, 1.120159985, 1.120159981, 1.120159980, 1.120159977, 1.120159976, 1.120159973, 1.120159972, 1.120159969, 1.120159968, 1.120159965, 1.120159964
2015-08-20 14:25:54 Step 1 success for 1.120159988, 1.120159989, 1.120159984, 1.120159985, 1.120159981, 1.120159980, 1.120159977, 1.120159976, 1.120159973, 1.120159972, 1.120159969, 1.120159968, 1.120159965, 1.120159964
2015-08-20 14:25:57 Step 3 success for 1.120159988, 1.120159989, 1.120159984, 1.120159985, 1.120159981, 1.120159980, 1.120159977, 1.120159976, 1.120159973, 1.120159972, 1.120159969, 1.120159968, 1.120159965, 1.120159964
---
CASE 1:
2015-08-20 14:26:56 New event 27517750 added
2015-08-20 14:26:56 Checking market catalogue for the event 27517750
2015-08-20 14:26:59 Checking market catalogue for the event 27517750
2015-08-20 14:27:02 Checking market catalogue for the event 27517750
2015-08-20 14:27:17 Checking market catalogue for the event 27517750
2015-08-20 14:27:22 Running thread to place orders on the events 27517750 (types 7) and markets 1.120159772, 1.120159771, 1.120159776, 1.120159775, 1.120159779, 1.120159780, 1.120159783, 1.120159784, 1.120159787, 1.120159788, 1.120159791, 1.120159792, 1.120159796, 1.120159795
CASE 2:
2015-08-20 14:26:59 Step 3 success for 1.120159795, 1.120159796, 1.120159792, 1.120159791, 1.120159788, 1.120159787, 1.120159784, 1.120159783, 1.120159780, 1.120159779, 1.120159775, 1.120159776, 1.120159771, 1.120159772
2015-08-20 14:27:00 Step 2 success for 1.120159795, 1.120159796, 1.120159792, 1.120159791, 1.120159788, 1.120159787, 1.120159784, 1.120159783, 1.120159780, 1.120159779, 1.120159775, 1.120159776, 1.120159771, 1.120159772
2015-08-20 14:27:03 Step 1 success for 1.120159795, 1.120159796, 1.120159792, 1.120159791, 1.120159788, 1.120159787, 1.120159784, 1.120159783, 1.120159780, 1.120159779, 1.120159775, 1.120159776, 1.120159771, 1.120159772
---
CASE 1:
2015-08-20 14:30:39 New event 27517774 added
2015-08-20 14:30:39 Checking market catalogue for the event 27517774
2015-08-20 14:30:41 Running thread to place orders on the events 27517774 (types 7) and markets 1.120160001, 1.120159999, 1.120160006, 1.120160005, 1.120160011, 1.120160012, 1.120160017, 1.120160016, 1.120160021, 1.120160023, 1.120160027, 1.120160028, 1.120160034, 1.120160037
CASE 2:
2015-08-20 14:30:38 Step 2 success for 1.120160037, 1.120160034, 1.120160028, 1.120160027, 1.120160023, 1.120160021, 1.120160016, 1.120160017, 1.120160012, 1.120160011, 1.120160005, 1.120160006, 1.120159999, 1.120160001
2015-08-20 14:30:39 Step 3 success for 1.120160037, 1.120160034, 1.120160028, 1.120160027, 1.120160023, 1.120160021, 1.120160016, 1.120160017, 1.120160012, 1.120160011, 1.120160005, 1.120160006, 1.120159999, 1.120160001
2015-08-20 14:30:40 Step 1 success for 1.120160037, 1.120160034, 1.120160028, 1.120160027, 1.120160023, 1.120160021, 1.120160016, 1.120160017, 1.120160012, 1.120160011, 1.120160005, 1.120160006, 1.120159999, 1.120160001



Comment