Hello fellow poker geeks! I have a new tool up at ProPokerTools in pre-release and wanted to open it up to a few more people. The tool can be found here:
ProPokerTools PQL
This new tool allows you to ask poker probability questions using a general-purpose query language. It is very much a work in progress.
As I always I welcome your questions and comments. I include an excerpt from the documentation below to whet your appetite.
- bachfan of ProPokerTools
If we want to know the equity of aces vs a random hand in holdem, we would write the following PQL query:
select avg(equity(hero, river)) as heroEquity from game='holdem', hero='AA', villain='**'
Let's suppose we want to know how often a hand with two aces in omaha which starts as a favorite on the flop gets outdrawn on the turn by a random hand, but then goes on to win the river. We can answer that with the following query:
select count(equity(villain, turn) > 0.5 and winsHi(hero)) as suckAndResuck
from game='omahahi', hero='AA**', villain='****'
where equity(hero, flop) > 0.5
The following query will tell you how often A2 gets quartered (or sixthed) in omaha-8 against two decent hands when it makes the nut low on a given board:
select count(tiesLo(hero)) as lostSomeChips
from game='omaha8', hero='A2**', board='8s7c5hKsJd', villain1='15%', villain2='15%'
where not (winsHi(hero) or tiesHi(hero))
This will show you what hand types (pair, two pair, etc.) win in holdem in a 9-handed random race:
select histogram(winningHandType())
from game='holdem', p1='**', p2='**', p3='**', p4='**', p5='**', p6='**', p7='**', p8='**', p9='**'