CBet Success percentage.

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

CBet Success percentage.

Postby stasia42 » Sun Sep 06, 2009 6:55 pm

Hi there, recently downloaded CBet on flop success percentage from the stats on this site, and liked it.
I decided to try and create same stat for turn and river. Can you please check and see if it's ok?

C-Bet Turn success percentage: (cnt_t_cbet_success / cnt_t_cbet) * 100

where "cnt_t_cbet_success" is

sum(if[holdem_hand_player_statistics.flg_t_cbet AND NOT
(holdem_hand_player_statistics.flg_r_saw) AND NOT
(holdem_hand_player_statistics.flg_t_face_raise), 1, 0])

and "cnt_t_cbet" is poker tracker's version.

C-Bet River success percentage: (cnt_r_cbet_success / cnt_r_cbet) * 100

Where "cnt_r_cbet_success" is [This is the one I'm not so sure about...)

sum(if[holdem_hand_player_statistics.flg_r_cbet AND
(holdem_hand_player_statistics.flg_won_hand) AND NOT
(holdem_hand_player_statistics.flg_showed) ,1,0 ])

I'm trying to check how many times I CBet river and my opponent fold (In these situations, when I CBet flop, turn, and river, it is ussually a bluff) his hand. thought about "player won hand" and "player didn't show hand" (to avoid situations when I win at showdown with best hand). Not sure regarding the use of the " ,1,0 ])" at the end of the third condition statement, but when I tried to validate the whole expression without it, it said that it is not a valid SQL statement... If someone can explain what does it do (I thought maybe 1=true, and 0=false, regarding the whether or not there was showdown??)

Thanks anyway,
Stas.
stasia42
 
Posts: 35
Joined: Tue Aug 25, 2009 12:51 pm

Re: CBet Success percentage.

Postby WhiteRider » Mon Sep 07, 2009 4:35 am

Your turn stat is fine, the river one needs a bit of a tweak, though.
You should use holdem_hand_player_statistics.flg_showdown instead of flg_showed (flg_showed is when you showed the hand voluntarily).
You should also still check that you don't face a raise to cut out those cases where you face a raise and 3-bet and your opponent folds.

See this thread for an explaination of the 1,0 bit:
viewtopic.php?f=45&t=8028#p56281
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