Greyhound Mystique

Any markets not covered in the other boards
Post Reply
User avatar
murdok
Posts: 151
Joined: Sun Apr 02, 2017 7:10 pm

MemphisFlash wrote:
Sun Dec 20, 2020 11:00 am
getting this error now

Capture.JPG
the same thing is happening to me too :(

yesterday I managed to make a scrap but today is not happening I think it has to do with the script code
dvwooly
Posts: 24
Joined: Fri Feb 07, 2014 10:42 pm

same here, doesn't like line 51 .... if (x[1][0] - x[0][0]) >= 0.1:
spreadbetting
Posts: 3140
Joined: Sun Jan 31, 2010 8:06 pm

Just change the line

Code: Select all

if bool(Runners) == True and ('OR' in grade or 'A' in grade):

to

Code: Select all

if bool(Runners) == True and ('OR' in grade or 'A' in grade) and len(Runners.items())>1:
Used to all work fine when it was originally done so maybe the newer versions of python are more picky. Basically where there's only data for one runner the line (x[1][0] - x[0][0]) fails because x[1][0] doesn't exist.
User avatar
murdok
Posts: 151
Joined: Sun Apr 02, 2017 7:10 pm

spreadbetting wrote:
Sun Dec 20, 2020 2:14 pm
Just change the line

Code: Select all

if bool(Runners) == True and ('OR' in grade or 'A' in grade):

to

Code: Select all

if bool(Runners) == True and ('OR' in grade or 'A' in grade) and len(Runners.items())>1:
Used to all work fine when it was originally done so maybe the newer versions of python are more picky. Basically where there's only data for one runner the line (x[1][0] - x[0][0]) fails because x[1][0] doesn't exist.

its working and thx

"
13:57 Towcester Sun 20 December 2020, 4. Thomand Queen, class A6, time difference 1.18
14:32 Towcester Sun 20 December 2020, 6. Night Time Taxi, class A4, time difference 0.77
15:09 Kinsley Sun 20 December 2020, 3. Jaxleg Mimi, class A7, time difference 0.35
15:11 Towcester Sun 20 December 2020, 6. Carlin Joel, class A6, time difference 13.07
15:48 Towcester Sun 20 December 2020, 6. Longvale Mai, class A5, time difference 1.98
16:08 Towcester Sun 20 December 2020, 1. As Mary Said, class A5, time difference 5.84
16:48 Towcester Sun 20 December 2020, 1. Iconic Jones, class A5, time difference 3.94
17:03 Kinsley Sun 20 December 2020, 5. Miss Midnight, class A5, time difference 0.1
17:22 Kinsley Sun 20 December 2020, 4. Crooks Delilah, class A5, time difference 0.12
17:28 Towcester Sun 20 December 2020, 4. Ballycowen Rox, class A6, time difference 10.72
17:44 Towcester Sun 20 December 2020, 5. Distant Call, class A6, time difference 1.28
18:17 Henlow Sun 20 December 2020, 6. Rockhill Romeo, class A11, time difference 0.82
18:28 Central Park Sun 20 December 2020, 6. Neamstown Aoife, class OR, time difference 10.37
18:33 Henlow Sun 20 December 2020, 5. Romantic Suzie, class A11, time difference 11.2
18:36 Swindon Sun 20 December 2020, 1. Signet Storm, class OR, time difference 3.66
18:58 Central Park Sun 20 December 2020, 6. Shoot The Bolt, class OR, time difference 10.47
19:09 Swindon Sun 20 December 2020, 5. Rafas Diamond, class OR, time difference 0.52
19:18 Central Park Sun 20 December 2020, 1. Nans Tom, class OR, time difference 0.82
19:26 Swindon Sun 20 December 2020, 1. Ballymac Pin, class A3, time difference 0.11
19:36 Central Park Sun 20 December 2020, 4. Zaha, class OR, time difference 15.92
19:44 Henlow Sun 20 December 2020, 6. Dromscarra Tammy, class A9, time difference 0.12
19:56 Central Park Sun 20 December 2020, 6. Nomansland Flyer, class OR, time difference 0.22
19:58 Swindon Sun 20 December 2020, 6. Moanteen Angel, class OR, time difference 0.16
20:12 Swindon Sun 20 December 2020, 1. Geelo Dee Dee, class A4, time difference 0.13
20:38 Central Park Sun 20 December 2020, 5. Swift Loki, class OR, time difference 4.96
21:02 Henlow Sun 20 December 2020, 1. Jeds Reaction, class A2, time difference 1.52
21:12 Central Park Sun 20 December 2020, 3. Goldies Ginola, class OR, time difference 0.46
21:16 Swindon Sun 20 December 2020, 3. Riverside Coral, class A4, time difference 0.14
21:18 Henlow Sun 20 December 2020, 1. Parlour Eva, class A6, time difference 7.73
21:28 Central Park Sun 20 December 2020, 6. Savana Alan, class OR, time difference 0.26
"
dvwooly
Posts: 24
Joined: Fri Feb 07, 2014 10:42 pm

Those differences are massive ...
User avatar
murdok
Posts: 151
Joined: Sun Apr 02, 2017 7:10 pm

in this race the price

15:09 Kinsley Sun 20 December 2020, 3. Jaxleg Mimi, class A7, time difference 0.35


Image
Archery1969
Posts: 4478
Joined: Thu Oct 24, 2019 8:25 am

dvwooly wrote:
Sun Dec 20, 2020 3:02 pm
Those differences are massive ...
That happens when you have dogs who’s last race was a sprint race or they ran over shorter distances to what there running in today.

Because of this we refined it to only look at races where ALL the dogs had run type ‘A’ races previously. Then we gave weighting to the times if a dog was stepping up or down in grade for this race. Then a weighting based on Trap stats for the tracks.
spreadbetting
Posts: 3140
Joined: Sun Jan 31, 2010 8:06 pm

dvwooly wrote:
Sun Dec 20, 2020 3:02 pm
Those differences are massive ...

The problem is the sporting life site doesn't limit the times to the race distance so you'd get weird results of 10+ seconds. More a starting point and exercise on scraping than a working model
Archery1969
Posts: 4478
Joined: Thu Oct 24, 2019 8:25 am

You might be better off just using the betfair greyhound form data. Although i not sure its that easy to scrape.

In theory Trap 4 in this race ticks all the boxes. Assign 100 points for each input, total them up and then calculate odds etc.

Trap 1 = 200 points
Trap 2 = 200 points
Trap 3 = 300 points
Trap 4 = 600 points
Trap 5 = 100 points
Trap 6 = 300 points

Trap 4 = 1700 / 600 = 2.83. So if Trap 4's back odds are > 2.83 then you can back it, if you think that represents value. :roll:
You do not have the required permissions to view the files attached to this post.
User avatar
MemphisFlash
Posts: 2335
Joined: Fri May 16, 2014 10:12 pm

i have a scrape,
can you explain what the output is telling me
Capture.JPG
You do not have the required permissions to view the files attached to this post.
User avatar
MemphisFlash
Posts: 2335
Joined: Fri May 16, 2014 10:12 pm

interesting thread developing here. :)
User avatar
murdok
Posts: 151
Joined: Sun Apr 02, 2017 7:10 pm

MemphisFlash wrote:
Sun Dec 20, 2020 4:35 pm
i have a scrape,
can you explain what the output is telling me

Capture.JPG
I think we have to read the beginning of the topic I also wanted to know what the output means :lol:
Archery1969
Posts: 4478
Joined: Thu Oct 24, 2019 8:25 am

murdok wrote:
Sun Dec 20, 2020 5:06 pm
MemphisFlash wrote:
Sun Dec 20, 2020 4:35 pm
i have a scrape,
can you explain what the output is telling me

Capture.JPG
I think we have to read the beginning of the topic I also wanted to know what the output means :lol:
The output is telling you those dogs from each race are the fastest by x seconds over the nearest rival in the race.
User avatar
wearthefoxhat
Posts: 3554
Joined: Sun Feb 18, 2018 9:55 am

Archery1969 wrote:
Sun Dec 20, 2020 5:23 pm
murdok wrote:
Sun Dec 20, 2020 5:06 pm
MemphisFlash wrote:
Sun Dec 20, 2020 4:35 pm
i have a scrape,
can you explain what the output is telling me

Capture.JPG
I think we have to read the beginning of the topic I also wanted to know what the output means :lol:
The output is telling you those dogs from each race are the fastest by x seconds over the nearest rival in the race.

As a guide;

As a general rule in determining short distances: 0.08 secs = 1 length, 0.04 secs = 1/2 length, 0.03 secs = a neck, 0.02 secs = head and 0.01 secs = short head.

Although the actual time to run a length, may be fractionally quicker 0.0676 secs = 1 length.
User avatar
MemphisFlash
Posts: 2335
Joined: Fri May 16, 2014 10:12 pm

looks like we all jumping on the Python Train

https://www.youtube.com/watch?v=kqtD5dpn9C8


think i will be watching this over christmas holidays. better stuff than on BBC over the hols anyway.

Full course 6 hours

https://www.youtube.com/watch?v=_uQrJ0TkZlc
Last edited by MemphisFlash on Sun Dec 20, 2020 6:34 pm, edited 1 time in total.
Post Reply

Return to “Other Betfair Sports Trading markets”