Fold, call, raise Cbet IP & OOP

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

Fold, call, raise Cbet IP & OOP

Postby omgtupux » Thu Oct 06, 2011 4:02 am

Hello,

I'm a total noob with custom stats but i made some research to find those stats:

Fold Cbet IP:
cnt_f_cbet_def_action_fold_in_pos
sum(if[substring(lookup_actions_f.action from 1 for 1)<>'X' AND holdem_hand_player_statistics.enum_f_cbet_action='F', 1, 0])

Fold Cbet OOP:
cnt_f_cbet_def_action_fold_out_of_pos
sum(if[substring(lookup_actions_f.action from 1 for 1)='X' AND holdem_hand_player_statistics.enum_f_cbet_action='F', 1, 0])

Cbet raised flop IP:
cnt_f_cbet_ip: sum(if[holdem_hand_player_detail.flg_f_has_position
AND holdem_hand_player_statistics.flg_f_cbet AND NOT((holdem_hand_player_statistics.flg_p_3bet_def_opp OR holdem_hand_player_statistics.flg_p_3bet)OR(holdem_hand_player_statistics.flg_p_4bet OR holdem_hand_player_statistics.flg_p_4bet_def_opp)), 1, 0])

cbet raised flop oop:
cnt_f_cbet_opp_ip: sum(if[holdem_hand_player_detail.flg_f_has_position AND holdem_hand_player_statistics.flg_f_cbet_opp AND NOT((holdem_hand_player_statistics.flg_p_3bet_def_opp OR holdem_hand_player_statistics.flg_p_3bet)OR(holdem_hand_player_statistics.flg_p_4bet OR holdem_hand_player_statistics.flg_p_4bet_def_opp)), 1, 0])

I'd like to know if it's actually working?
omgtupux
 
Posts: 1
Joined: Fri Jun 12, 2009 7:11 pm

Re: Fold, call, raise Cbet IP & OOP

Postby kraada » Thu Oct 06, 2011 8:32 am

You need to change the raise OOP version to not(holdem_hand_player_detail.flg_f_has_position).

Those columns otherwise look good. You'll want to also add opportunity columns (which if you can construct those should not be difficult) and then put the ones you've just built over the opportunities and multiply by 100 to make the statistic on the Statistics tab. The Statistics are what displays, but they need to be constructed out of the columns.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Fold, call, raise Cbet IP & OOP

Postby degoor » Mon Dec 19, 2011 10:51 am

The opportunities columns for Fold Cbet IP and Fold Cbet OOP should respectively be:

Fold Cbet IP opportunities:

cnt_f_cbet_def_action_fold_ip_opp
sum(if[substring(lookup_actions_f.action from 1 for 1)<>'X' AND holdem_hand_player_statistics.flg_f_cbet_def_opp, 1, 0])

Fold Cbet OOP opportunities:

cnt_f_cbet_def_action_fold_out_opp
sum(if[substring(lookup_actions_f.action from 1 for 1)='X' AND holdem_hand_player_statistics.flg_f_cbet_def_opp, 1, 0])

Is that correct?
degoor
 
Posts: 18
Joined: Wed Sep 30, 2009 2:22 am

Re: Fold, call, raise Cbet IP & OOP

Postby kraada » Mon Dec 19, 2011 11:24 am

That will work.
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 1 guest