loopmeister
Rock Star
Silver Level
Hi all,
I've been working on a hand analysis tool in my spare time (which isn't much these days). The plan is to have something that
- parses HH and stores the info in a SQL database
- allows me to extract histories, stats, profit graphs etc.
Something similar to PokerTracker or whatever you guys use. I mainly wanted to do this to get some practice in programming Python. It's still quite buggy in places, but you'll get the idea.
Any comments, thoughts, suggestions will be appreciated.
Here's a sample HH:
You can also pull stats on players:
And of course, you want to see your bankroll progress:
I've been working on a hand analysis tool in my spare time (which isn't much these days). The plan is to have something that
- parses HH and stores the info in a SQL database
- allows me to extract histories, stats, profit graphs etc.
Something similar to PokerTracker or whatever you guys use. I mainly wanted to do this to get some practice in programming Python. It's still quite buggy in places, but you'll get the idea.
Any comments, thoughts, suggestions will be appreciated.
Here's a sample HH:
Code:
[FONT="Fixedsys"]
Game no. 18598873 at PiggsPeak. Played on Sun Feb 25 00:07:37 2007
Game Type - No Limit. Money Type - Sit n Go
Ante - 0, Blinds - 40/80
9 players in the hand. Player 8 is on the button.
------- Preflop -------
|Pot 0.00| | 870.00 | Avec [small blind] Post SBs for 20.00
|Pot 20.00| | 957.50 | Rick [big blind] Post BBs for 40.00
|Pot 60.00| 2.5:1 | 2355.00 | brand [UTG] Calls for 40.00
|Pot 100.00| 3.5:1 | 2080.00 | queendebbie [EP] Calls for 40.00
|Pot 140.00| | 910.00 | TheStudent [MP] Folds
|Pot 140.00| 4.5:1 | 385.00 | peterc [MP] Calls for 40.00
|Pot 180.00| | 1450.00 | Hero [2s, 5h] [LP] Folds
|Pot 180.00| | 400.00 | Goldfingers [CO] Raises for 80.00
|Pot 260.00| 4.2:1 | 532.50 | RideTheRiver [button] Calls for 80.00
|Pot 340.00| | 850.00 | Avec [small blind] Folds
|Pot 340.00| | 917.50 | Rick [big blind] Raises for 80.00
|Pot 420.00| 6.2:1 | 2315.00 | brand [UTG] Calls for 80.00
|Pot 500.00| | 2040.00 | queendebbie [EP] Raises for 2000.00
|Pot 2500.00| | 345.00 | peterc [MP] Folds
|Pot 2500.00| | 320.00 | Goldfingers [CO] Raises for 240.00
|Pot 2740.00| | 452.50 | RideTheRiver [button] Raises for 372.50
|Pot 3112.50| | 837.50 | Rick [big blind] Folds
|Pot 3112.50| | 2235.00 | brand [UTG] Folds
------- Flop: 6s 6d 4c-------
------- Turn: (6s) (6d) (4c) 7c-------
------- River: (6s) (6d) (4c) (7c) 2c-------
-------- Showdown --------
queendebbie shows OnePair [6s 6d Ah 8s 7c]
Goldfingers shows TwoPair [8d 8h 6s 6d 7c]
loopy shows TwoPair [6s 6d 2s 2c 7c]
RideTheRiver shows OnePair [6s 6d Ac Kh 7c]
Goldfingers wins 1765.00 holding [8h, 8d]
-------- Profit Summary --------
queendebbie loses 2040.00 holding [8s, Ah]
Goldfingers wins 1180.00 holding [8h, 8d]
Avec loses 20.00 holding [__, __]
brand loses 120.00 holding [__, __]
RideTheRiver loses 187.50 holding [Kh, Ac]
Rick loses 120.00 holding [__, __]
peterc loses 40.00 holding [__, __]
Rake: 1347.50
---------- Odds analysis -----------
-------- Preflop analysis ----------
9 players in hand
Community cards: [__ __ __ __ __]
queendebbie: [8s, Ah] 2.1%
Goldfingers: [8h, 8d] 12.7%
loopy: [2s, 5h] 8.6%
RideTheRiver: [Kh, Ac] 20.0%
---------- Flop analysis ------------
3 players in hand
Community cards: [6s 6d 4c __ __]
queendebbie: [8s, Ah] 1.1%
Goldfingers: [8h, 8d] 77.1%
RideTheRiver: [Kh, Ac] 21.6%
---------- Turn analysis ------------
3 players in hand
Community cards: [6s 6d 4c 7c __]
queendebbie: [8s, Ah] 4.7%
Goldfingers: [8h, 8d] 83.5%
RideTheRiver: [Kh, Ac] 11.7%
---------- River analysis ------------
3 players in hand
Community cards: [6s 6d 4c 7c 2c]
queendebbie: [8s, Ah] 0.0%
Goldfingers: [8h, 8d] 100.0%
RideTheRiver: [Kh, Ac] 0.0%
[/FONT]
You can also pull stats on players:
Code:
[FONT="Fixedsys"]
Preflop summary for queendebbie
Total hands: 19
Post BB 4% Raise 17%
Fold 50% Post SB 8%
Call 21% Reraise 0%
Post ante 0% Check 0%
Bet 0% Total preflop actions: 24
Tightness: 19/26%/21% (n/VIP/pfR)
Preflop summary for loopy
Total hands: 2847
Post BB 12% Raise 8%
Fold 49% Post SB 12%
Call 13% Reraise 0%
Post ante 0% Check 5%
Bet 1% Total preflop actions: 3785
Tightness: 2847/18%/10% (n/VIP/pfR)
[/FONT]
And of course, you want to see your bankroll progress: