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 » Sun Sep 18, 2011 1:52 pm

Hi,
expression is valid, want to be sur of the sens: amount bet > 50% of the pot
sum( if[ holdem_hand_player_detail.amt_f_bet_made > holdem_hand_summary.amt_pot/2, 1, 0])

Thanks for help
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: Stats sens

Postby raph156 » Sun Sep 18, 2011 2:15 pm

50% of the pot on the flop
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: Stats sens

Postby raph156 » Sun Sep 18, 2011 3:12 pm

And thise one too.
Just count when pot dont grow up than 25bb in the hand?
sum(if[holdem_hand_summary.amt_pot BETWEEN ( 10*holdem_limit.amt_bb) AND ( 25*holdem_limit.amt_bb) and holdem_hand_player_statistics.flg_won_hand , 1, 0])
Thanks for help
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: Stats sens

Postby raph156 » Sun Sep 18, 2011 4:06 pm

That count when he check the flop and bet the turn? When he call a raise pre flop at SB, the other player check the flop and he bet the flop?
sum( if[ holdem_hand_player_statistics.flg_t_cbet_opp , 1, 0])
Why there is not sum( if[ holdem_hand_player_statistics.flg_t_bet_opp , 1, 0]) expression possible?
Thanks for help
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: Stats sens

Postby WhiteRider » Sun Sep 18, 2011 4:19 pm

raph156 wrote:Hi,
expression is valid, want to be sur of the sens: amount bet > 50% of the pot
sum( if[ holdem_hand_player_detail.amt_f_bet_made > holdem_hand_summary.amt_pot/2, 1, 0])

Thanks for help

holdem_hand_summary.amt_pot is the total size of the pot, not the size of the pot before the flop betting, so that won't do what you want. The size of the pot on each street is not recorded, but you can get the size of the bet as a percentage of the pot before the bet was made using "holdem_hand_player_detail.val_f_bet_made_pct".
So you'd want "holdem_hand_player_detail.val_f_bet_made_pct > 50".

raph156 wrote:And thise one too.
Just count when pot dont grow up than 25bb in the hand?
sum(if[holdem_hand_summary.amt_pot BETWEEN ( 10*holdem_limit.amt_bb) AND ( 25*holdem_limit.amt_bb) and holdem_hand_player_statistics.flg_won_hand , 1, 0])
Thanks for help

That looks OK for when the player won the pot and it was between 10 and 25 BB.

raph156 wrote:That count when he check the flop and bet the turn? When he call a raise pre flop at SB, the other player check the flop and he bet the flop?
sum( if[ holdem_hand_player_statistics.flg_t_cbet_opp , 1, 0])

Sorry, I'm not sure exactly what you're asking here - could you rephrase it please?

Why there is not sum( if[ holdem_hand_player_statistics.flg_t_bet_opp , 1, 0]) expression possible?

The database field you want is "holdem_hand_player_detail.flg_t_open_opp" - the opportunity to open (i.e. make the first bet) on the turn. This means that the player was first to act or that other players had checked to them.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


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

Who is online

Users browsing this forum: No registered users and 0 guests