Brandnew: "Fold to Donk Flop / Bet Turn"

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

Brandnew: "Fold to Donk Flop / Bet Turn"

Postby js2002 » Sat Sep 19, 2009 5:32 am

Hi,

please verify my new stat "Fold to Donk Flop / Bet Turn":

(cnt_f_donk_bet_t_def_opp_action_fold / cnt_f_donk_bet_t_def_opp) * 100

sum(if[holdem_hand_player_detail.amt_t_bet_facing > 0 AND NOT(holdem_hand_player_detail.flg_t_open_opp) AND lookup_actions_p.action LIKE '%R' and holdem_hand_player_detail.amt_f_bet_facing > 0 and NOT(holdem_hand_player_detail.flg_f_open_opp) AND substring(lookup_actions_t.action from 1 for 1) = 'F', 1, 0])

sum(if[holdem_hand_player_detail.amt_t_bet_facing > 0 AND NOT(holdem_hand_player_detail.flg_t_open_opp) AND lookup_actions_p.action LIKE '%R' and holdem_hand_player_detail.amt_f_bet_facing > 0 AND NOT(holdem_hand_player_detail.flg_f_open_opp), 1, 0])


Notes:
I derived them from "Fold to Flop Donk". The BOLD things are extended/appended the RED things are changed.

Please confirm/verify/evaluate.....

Greetings

OhJay

ps I think this stat is very helpful on low FL stakes.


EDIT: Looked over it and think I have to build in sth like "called the flop bet"
AND substring(lookup_actions_f.action from 1 for 1) = 'C' <--- correct? I mean does this "say" last action was a Call? Oh now I see, it says thats first and last action was a call, hmmmm do I want it .....YES I think so! Do you agree?
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany

Re: Brandnew: "Fold to Donk Flop / Bet Turn"

Postby WhiteRider » Sat Sep 19, 2009 6:33 am

That looks OK, depending on exactly what you want.

If you only want to count times the player called the flop bet, rather than raising, then you need your additional check, yes.
lookup_actions_f.action = 'C'
..means the player made one action on the flop, and that was to call.
This has the added advantage of exluding hands where the player checked and faced a bet from behind (so was out of position), although actually here your other checks do that already.

If the player's only action on the flop was to call, and they faced a bet, then you don't need to check for flg_f_open_opp (because if they could have opened and still faced a bet then they would have had to have checked before calling).
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Brandnew: "Fold to Donk Flop / Bet Turn"

Postby js2002 » Sat Sep 19, 2009 7:58 am

WhiteRider wrote:That looks OK, depending on exactly what you want.

If you only want to count times the player called the flop bet, rather than raising, then you need your additional check, yes.
lookup_actions_f.action = 'C'
..means the player made one action on the flop, and that was to call.
This has the added advantage of exluding hands where the player checked and faced a bet from behind (so was out of position), although actually here your other checks do that already.

I like that logic!

If the player's only action on the flop was to call, and they faced a bet, then you don't need to check for flg_f_open_opp (because if they could have opened and still faced a bet then they would have had to have checked before calling).

I <3 that logic!



Thx 4 the wide explanation.
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany


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

Who is online

Users browsing this forum: No registered users and 0 guests