As part of the rewrite of my eBook about building Betfair bots and using the free Betfair API, I have been creating some simple examples. One of those is a graphing example. I thought I'd post it up as a download in case anyone wants to play with it. It is somewhat raw and buggy but it was only written as an example to show how to use parts of the API. If you want to have a look, please go to: DOWNLOAD HERE and click on the "install" button. It is a windows application and when run will ask for username and password. These are your Betfair user ID and password and are used to connect to Betfair using the free API. Once you have logged on, you are shown the main window. On the left is a tree view you use to select a market and an event. Open the treeview until you find the event you want. When you have chosen through to the lowest level, a drop down list will appear at the top of the right hand pane. Use this to select a runner. As soon as a runner is picked, the simple ladder and graph will update price info every second. At the bottom of the window are some check boxes. These let you turn on or off the various graph lines. The available ones are back1-3 and lay1-3 which relate to the unmatched back and lay prices, next to that are back band and lay band. These are bollinger bands, currently set to use a 20 second moving average of matched prices. Finally there is a checkbox for matched price and moving average matched price. Next to the moving average is a box that you can enter the number of seconds the moving average is over. I hope that all made sense.
Just to repeat, this little application is not a finished, solid application, so don't be surprised if it does something funny every so often or crashes, etc.
If you want to make the graph fill more of the window, click the "hide ladder" check box. You can zoom in onto an area of the graph by holding the left button and dragging the mouse over it.
Have fun.