look up hole cards for omaha?

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

look up hole cards for omaha?

Postby Beng79 » Tue Sep 30, 2014 7:28 am

Hi,

I'm trying to built a bunch of stats which show omaha hands for a range of pre-flop situations (eg. raise first in, 3 bet, 4 bet etc)

So far I have been using the columns holecard_1 through holecard_4 in cash_hand_player_statistics.
This works, and I've built some basic stats for things like 3 Bet AA**, however its extremely cumbersome - particularly for identifying ranges of hands

Is there any other simpler way of retrieving hole card values for omaha?
Can this be obtained from the column id_holecard?

Any help appreciated
Beng79
 
Posts: 7
Joined: Sat Jun 02, 2012 1:37 am

Re: look up hole cards for omaha?

Postby kraada » Tue Sep 30, 2014 7:51 am

There is a lookup table that lists all hands for Omaha. You can find it in the lookup_hole_cards table. The id_holecard value there is the same as id_holecard in the hand_player_statistics table. The way this works algorithmically is that id_holecard is 1 for AAAA, 2 for AAAK ... 13 for AAA2. 14 is AAKK, 15 is AAKQ and so on to AAK2 (25) then to AAQQ (26) and this continues to AA22 (91) then AKKK is 92 and so on throughout the aces then the first card becomes a king. There are 1820 total options so you'll forgive me for not listing them all here, but you can see the full list in the schema.postgres.sql file in the PT4 folder in Program Files (x86)/PokerTracker 4/Data/Schemas - just search for AAAA and you'll find it.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: look up hole cards for omaha?

Postby Beng79 » Tue Sep 30, 2014 6:49 pm

hi
found the DB schema with all the listed hole card look up values for omaha
Thanks!
Beng79
 
Posts: 7
Joined: Sat Jun 02, 2012 1:37 am


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 36 guests

cron
highfalutin