Stats sens

Forum for users that want to write their own custom queries against the PT database either via the Structured Query Language (SQL) or using the PT3 custom stats/reports interface.

Moderator: Moderators

Stats sens

Postby raph156 » Tue Oct 04, 2011 8:18 pm

Hi,
i would like total amount bet facing at flop, bet and raise. Is that good? cause there is
sum(if[holdem_hand_player_detail.amt_f_bet_facing> 0 , 1, 0])
Thanks for help
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: Stats sens

Postby WhiteRider » Wed Oct 05, 2011 3:37 am

There is also "holdem_hand_player_detail.amt_f_raise_facing".

Your expression with count the number of times you faced a bet on the flop.
If you want the total amount of bets faced across all hands you need to sum up the bet-facing amounts instead, like this:

sum(holdem_hand_player_detail.amt_f_bet_facing)

..but I'm not sure exactly what you want to see here?
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Stats sens

Postby raph156 » Wed Oct 05, 2011 5:53 am

Hi,
i want if hero open with bet 4 and villain raise 12, that count one. Or if villain open with bet 12 and he dont bet, call or raise anymore on the flop.
sum(if[holdem_hand_player_detail.amt_f_bet_facing> ( 11*holdem_limit.amt_bb) , 1, 0])
Thanks for help
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: Stats sens

Postby kraada » Wed Oct 05, 2011 8:07 am

Then you want sum(if[(holdem_hand_player_detail.amt_f_bet_made = 4 and holdem_hand_player_detail.amt_f_raise_facing = 12) OR holdem_hand_player_detail.amt_f_bet_facing = 12, 1, 0])

I am assuming 4 and 12 are in absolute currency values here - if you meant big blinds, divide the columns from holdem_hand_player_detail by holdem_limit.amt_bb.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Custom Stats, Reports, and SQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests