Excel Trading Analysis

Post Reply
andyfuller
Posts: 4619
Joined: Wed Mar 25, 2009 12:23 pm

Brilliant stuff!!!

Only thing, would it be possible to make it so you can sort by AV?

Many thanks for you effors - I had tried to make something similar before but compared to this my efforts are embarrising :)
User avatar
TheTub
Posts: 267
Joined: Thu Mar 26, 2009 7:53 pm
Location: Nottinghamshire

Adding day of week would be handy. But that could take some coding.

I might have a bash at that when I've got a spare hour or two.
nigelk
Posts: 469
Joined: Wed Apr 15, 2009 11:00 pm

Taxbrakes, What version of Excel are you using?
Are the errors just on those two lines and can you tell me what the message says?

Andy, I did do that, but then binned it!.

Tub, I'll have a look at adding dates.

Nigel.
User avatar
afropunk
Posts: 24
Joined: Tue Apr 21, 2009 12:28 am

Hey Nigel,

First of all thank you so much for the spreadsheet. Looks very useful indeed.

Regrettably I am having some trouble getting it up and running. At first I had a debug error message, however after some moving around of the files and a few renaming attempts of the Copy Data location I have managed to get it to locate my spreadsheet. Unfortunately though it does not appear to be reading this correctly. I will attach some screenshots below to show you exactly what I am doing.

Image

Image

As you can see it does identify the total markets correctly however teh rest of the sheet is not being populated.

Could someone please point me in the right direction. Am hoping to get this working today, looks very handy. Would appreciate any ideas.

I am using Excel 2003 and Windows XP.
nigelk
Posts: 469
Joined: Wed Apr 15, 2009 11:00 pm

Afropunk,
Tub had a similar problem with the #values message, he had done some trades on the place market, and it was these that was causing his problem.

I've never traded these markets, and I can only assume that they have different descriptions/layout of text as the "normal" ? markets.

If someone would like to compare the two and post a line of each, maybe we can reach a solution?

How did you insert the image? I've clicked on the Img button before, and that's as far as I've got.

Let us know what you find.
Thanks,Nigel
User avatar
afropunk
Posts: 24
Joined: Tue Apr 21, 2009 12:28 am

Hey Nigel thanks for your reply.

I would consider myself an Excel novice as I only use it minimalistically. I don't trade any place markets so I do not think this is the issue. In regards to posting images on the forum. I use photobucket.com and host them there. I then include the image code to display them in the post.

If anyone has any ideas for my excel issue I'm all ears! :)
User avatar
drifter
Posts: 46
Joined: Sat Apr 18, 2009 10:45 pm

Thanks Nigel :D The spreadsheet is great.

Already I can see that Wolves is good to me :) but I think I need to pay attention when trading Kempton :(
User avatar
afropunk
Posts: 24
Joined: Tue Apr 21, 2009 12:28 am

Another big thank you to Nigel. He has solved me problem, use the correct spreadsheet!

I was using the Betting History spreadsheet rather then the P&L one :oops:

It is now working a treat and has confirmed a few of my ominous suspicions!

Thanks again for creating and sharing this spreadsheet Nigel :D
nigelk
Posts: 469
Joined: Wed Apr 15, 2009 11:00 pm

All,
I've added a "date" option, "sort by AV", and an error message.

The programme will by default, search for a spreadsheet named BettingPandL, and if it can't find it will carry on, but you'll get lots of #value errors on the screen.

(Thanks here to Tub and Afro for pointing out that Betfair had different spreadsheets to download, a fact I was totally unaware of).

To circumvent this, I've added an error message that lets you know if the sheet cannot be found. If you find this annoying (i.e. you rename your sheet or change the pathways ), just go into the VBA screen and delete the line: "On error goto Errtrap"

I've re-jigged the screen a bit, the details now appear on the left. It made a bit more sense to scroll to the right and line up the section you want directly against the details.

Finally, many thanks for all the kind comments.
Nigel.
Last edited by nigelk on Tue Oct 27, 2009 2:46 pm, edited 1 time in total.
Nero Tulip
Posts: 686
Joined: Wed Apr 15, 2009 5:29 pm

Ruddy awesome work Nigel, this is very helpful and thanks for making this available.

Might I request some extras? Please only if you have the time or inclination.

It doesn't find the track names or race types for greyhounds, which I'd love to have, since I do a lot of those races.

I'd also like to see some additional general stats. Such as average Win, and average Loss. I want to be able to see how the variance in my results is being affected.

Great work though, the thought crossed my mind that a spreadsheet that looked at individual matched bets would be good too. Might delve into that myself.

Thanks again.
chris_ri
Posts: 36
Joined: Wed Apr 15, 2009 1:57 pm

Hi Nigel

Looking very good, learning quite a bit about programming Excel from looking at the code. One thing I was wondering about creating is a spreadsheet similar to the sheet Peter demonstrates on his course which includes a column showing win/lose percentages over a period (possibly configurable or just daily) and average gain/loss ( again configurable period or just daily). This sort of stuff would be useful to chart to see if your going in the right direction in terms of expectancy and daily gains. If you find the time .... it would be great.

Thanks again,

Chris
User avatar
Jimmy
Posts: 174
Joined: Wed Apr 15, 2009 6:29 pm

Hi,

I am stuck. Ive downloaded it change the path, tried putting the file in c: & desktop change paths etc and it keeps tell me that it can't find a spreadsheet called "BettingPandL"

Cheers

Jimmy
User avatar
Jimmy
Posts: 174
Joined: Wed Apr 15, 2009 6:29 pm

Brilliant thanks for sort that out Nigel.

Yeah this is great

Strike rate
70% Horses
74% Greyhounds

The good think is for me it shows me where my stuid mistake of letting it go inrunning are and it makes it ever more real.

Cheers

Jim
margueston
Posts: 5
Joined: Tue May 05, 2009 12:59 pm

Nigel, thanks for the spreadsheet. Does it work with OpenOffice? I get various error messages when I tick the header boxes and the whole alt/f1 update thing doesn't work. SOrry but I'm a complete noob at this. Cheers again
User avatar
TheTub
Posts: 267
Joined: Thu Mar 26, 2009 7:53 pm
Location: Nottinghamshire

I think OpenOffice falls over if the Excel sheet has macros. They are just not as compatible as they would like you to believe.
Post Reply

Return to “Trade analysis & record keeping”