3bet Non AI in position

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

3bet Non AI in position

Postby veljko » Fri Apr 01, 2016 5:59 pm

Hi All,
I wrote a custom statistics for 3bet PF non Allin and work fine, But now i Would like to add that stats in position and out of position, but i have problem, and i need help :)

my custom stats is :


Code: Select all
sum(if[tourney_hand_player_statistics.flg_p_3bet AND tourney_hand_player_statistics.amt_p_raise_made < tourney_hand_player_statistics.amt_p_effective_stack, 1, 0])


ty
veljko
 
Posts: 3
Joined: Fri Jul 18, 2008 5:04 pm

Re: 3bet Non AI in position

Postby kraada » Mon Apr 04, 2016 7:45 am

Add in that:
substring(tourney_hand_summary.str_agressors_p from 2 for 1)::int > substring(tourney_hand_summary.str_agressors_p from 3 for 1)::int
for 3bettor in position on the 2bettor

and change > to < for out of position.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: 3bet Non AI in position

Postby veljko » Mon Apr 04, 2016 7:03 pm

Hi again, can you please send me the whole line please. I guess that i'm struggling with some simple error but i am banging my head for past few hours :cry:
veljko
 
Posts: 3
Joined: Fri Jul 18, 2008 5:04 pm

Re: 3bet Non AI in position

Postby kraada » Tue Apr 05, 2016 7:25 am

sum(if[tourney_hand_player_statistics.flg_p_3bet AND tourney_hand_player_statistics.amt_p_raise_made < tourney_hand_player_statistics.amt_p_effective_stack AND substring(tourney_hand_summary.str_agressors_p from 2 for 1)::int > substring(tourney_hand_summary.str_agressors_p from 3 for 1)::int, 1, 0])
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: 3bet Non AI in position

Postby veljko » Wed Apr 06, 2016 12:58 pm

again i receive this mesage : The statement is not valid SQL :(
veljko
 
Posts: 3
Joined: Fri Jul 18, 2008 5:04 pm

Re: 3bet Non AI in position

Postby kraada » Wed Apr 06, 2016 1:42 pm

Apologies for the typo. It should read:

sum(if[tourney_hand_player_statistics.flg_p_3bet AND tourney_hand_player_statistics.amt_p_raise_made < tourney_hand_player_statistics.amt_p_effective_stack AND substring(tourney_hand_summary.str_aggressors_p from 2 for 1)::int > substring(tourney_hand_summary.str_aggressors_p from 3 for 1)::int , 1, 0])
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 3 guests