Some Custom Stats

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

Some Custom Stats

Postby locoroco » Fri Jul 23, 2010 12:04 pm

How do I get these stats:

WTSD % when flop bet last position
W$SD % when flop bet last position

WTSD % when flop bet not last position
W$SD % when flop bet not last position

WTSD % when flop raise
W$SD % when flop raise

WTSD % when turn bet last position
W$SD % when turn bet last position

WTSD % when turn bet not last position
W$SD % when turn bet not last position

WTSD % when turn raise
W$SD % when turn raise
locoroco
 
Posts: 10
Joined: Thu Jun 19, 2008 7:21 am

Re: Some Custom Stats

Postby WhiteRider » Fri Jul 23, 2010 12:40 pm

You will need to build custom stats for these but as they are variations of built in stats you can do it as described in this tutorial.
To check for being in position (last to act) use the database field holdem_hand_player_detail.flg_f_has_position (_f_ means flop, change that to _t_ for the turn, for instance).
To get "WTSD % when flop raise" rather than "..when bet or raise flop" you can make a new version of the existing stat and remove the check for betting and just leave the check for raising.

I have to go out now, but have a go at building these stats and if you get stuck post back and let me know what you've got and I'll walk you through it.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Some Custom Stats

Postby locoroco » Sat Jul 24, 2010 7:03 am

Thank you. It looks OK.
locoroco
 
Posts: 10
Joined: Thu Jun 19, 2008 7:21 am


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

Who is online

Users browsing this forum: No registered users and 0 guests