capturing market data

Discuss anything related to using the program (eg. triggered betting tactics)

Moderator: 2020vision

capturing market data

Postby Rastis » Tue Apr 17, 2012 12:49 pm

Hi Folks,
I'm looking to capture the movement (highs and lows) of a market In-play. Is there a function, or Excel formulae etc, or some other means that someone could recommend please?
Cheers
Rastis
 
Posts: 8
Joined: Fri Jan 14, 2011 6:54 pm

Postby Captain Sensible » Tue Apr 17, 2012 12:59 pm

Try adding this to a worksheet , it should stick starting odds in AH , Lowest in AI and highest in AJ. Takes the price from last matched price


Private Sub Worksheet_Change(ByVal Target As Range)
Dim iRow As Integer
Dim iCol As Integer
Dim cell As Object

For Each cell In Target
iRow = cell.Row
iCol = cell.Column


' Update Max and Min Back Values
If Cells(2, 5) = "In Play" And iCol = 15 And iRow > 4 And iRow < 46 Then

Application.EnableEvents = False
If IsEmpty(Range("AJ" & iRow).Value) Then Range("AJ" & iRow).Value = 0
If IsEmpty(Range("AI" & iRow).Value) Then Range("AI" & iRow).Value = 1001
If IsEmpty(Range("AH" & iRow).Value) Then Range("AH" & iRow).Value = Range("O" & iRow).Value

If Not IsEmpty(cell.Value) Then
Range("AG" & iRow).Value = Range("O" & iRow).Value
If cell.Value < Range("AI" & iRow).Value And cell.Value > 1 Then Range("AI" & iRow).Value = cell.Value
If cell.Value > Range("AJ" & iRow).Value And cell.Value < 1001 Then Range("AJ" & iRow).Value = cell.Value
End If

Application.EnableEvents = True
End If



Next cell

End Sub
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Postby NorthView » Tue Apr 17, 2012 3:22 pm

Wish there was a tick up facility here to show appreciation of a post but in its absence, thanks very much CS, this is also what I've been looking for.
NorthView
 
Posts: 174
Joined: Wed Oct 08, 2008 12:33 pm
Location: London

Postby Askew » Thu Apr 19, 2012 4:16 pm

Hello Rasits! The suggestion of "Captain Sensible" is very valuable for capturing market data. I was also looking for such tool. I use it this is very helpful. try it.
Free medicare quotes by New Jersey medicare
User avatar
Askew
 
Posts: 1
Joined: Thu Apr 19, 2012 4:08 pm
Location: United States

Postby Livermore » Sat Apr 21, 2012 4:34 am

It just works! - my sincere appreciation to you for sharing this on the Forum.
Livermore
 
Posts: 13
Joined: Thu Nov 04, 2010 2:20 am

Postby Captain Sensible » Sat Apr 21, 2012 12:22 pm

As much as I'd love to take credit for the code, it was a guy called phrenetic that posted it up ages ago. I'm just passing it on as I've found it useful in alot of my stuff.

http://gruss-software.co.uk/forum/viewtopic.php?t=1885
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm


Return to Discussion

Who is online

Users browsing this forum: No registered users and 43 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.