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 7:57 am

Hi,
if villain complete small blindi in HU, i guess i have a 3bet pre flop opportunity, cause open opp and raise opp dont work?
Thanks for help
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: Stats sens

Postby kraada » Tue Oct 04, 2011 9:46 am

You should have an opportunity to raise - you can't 3bet in that situation.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Stats sens

Postby raph156 » Tue Oct 04, 2011 10:03 am

What i think too but thise expression nott valid:
holdem_hand_player_statistics.flg_p_raise_opp
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: Stats sens

Postby kraada » Tue Oct 04, 2011 10:37 am

There is no such field in the database which is why it is not valid. If you are looking for times where you faced a limp from the SB you'll want to do something like this:

not(holdem_hand_player_statistics.flg_p_face_raise) AND holdem_hand_player_statistics.position = 8 and ((lookup_actions_f.action = 'X' and holdem_hand_player_detail.flg_f_has_position) OR (100 * (holdem_hand_player_detail.amt_p_raise_made - (2 * cash_limit.amt_bb)) / holdem_hand_player_detail.amt_p_raise_made = holdem_hand_player_detail.val_p_raise_made_pct)

If you're in the BB and face a limp you haven't faced a raise, and you're in the big blind. Then you have two options - either you can check or raise. If you check and are in position, the only limper could have been from the small blind. If you raise and the size of your raise and the percentage of the pot that the raise was show that the pot was only two big blinds at the time, the only action could have been from the small blind.

This will miss a few edge cases when people post dead blinds but it should get the majority of the spots for you (and if you're playing true heads up games, it will catch them all).
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Stats sens

Postby raph156 » Tue Oct 04, 2011 12:15 pm

Your expression isnt valid, and possibility to check is preflop.
I tryed thise :
sum( if[(holdem_hand_player_statistics.flg_blind_b AND NOT holdem_hand_player_statistics.flg_p_face_raise) AND (substring(lookup_actions_p.action from 1 for 1)='X' OR holdem_hand_player_detail.amt_p_raise_made>0) ,1 ,0])
That mean what i want?
Thanks for help
Last edited by raph156 on Tue Oct 04, 2011 12:23 pm, edited 1 time in total.
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: Stats sens

Postby kraada » Tue Oct 04, 2011 12:20 pm

This validates (and I fixed the lookup_actions issue)

sum(if[not(holdem_hand_player_statistics.flg_p_face_raise) AND holdem_hand_player_statistics.position = 8 and ((lookup_actions_p.action = 'X' and holdem_hand_player_detail.flg_f_has_position) OR (100 * (holdem_hand_player_detail.amt_p_raise_made - (2 * holdem_limit.amt_bb)) / holdem_hand_player_detail.amt_p_raise_made = holdem_hand_player_detail.val_p_raise_made_pct)), 1, 0])
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