Rakeback for a different timeframe (cashgame)

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Rakeback for a different timeframe (cashgame)

Postby damncute » Wed Jan 08, 2014 5:08 am

Hi guys,

I am looking for a way to include different rakeback % for different times of the year. For example, from January to March I get 50% and 30% for the rest of the year. Is it possible to show this in one graph? I've been searching the whole morning, but couldn't find anything usefull.

Thanks in advance for any help!

Regards,
Chris
damncute
 
Posts: 12
Joined: Fri Dec 16, 2011 2:53 am

Re: Rakeback for a different timeframe (cashgame)

Postby kraada » Wed Jan 08, 2014 9:33 am

You could have your stat test for the date the hand was played and assign a different value of rake to that time frame, but it could be a bit complicated to work out. What site is this for?
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Rakeback for a different timeframe (cashgame)

Postby damncute » Wed Jan 08, 2014 10:41 am

It's for 888 (Pacific Network).

I've found this thread :

https://www.pokertracker.com/forums/vie ... hp?t=37445

But this is only for tournaments.
damncute
 
Posts: 12
Joined: Fri Dec 16, 2011 2:53 am

Re: Rakeback for a different timeframe (cashgame)

Postby kraada » Wed Jan 08, 2014 11:21 am

The same methods will work; the date played for a hand is cash_hand_player_statistics.date_played. You can see the different rake valuations in the amt_rake_* columns in the Configure -> Statistics -> $ -> Columns area.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Rakeback for a different timeframe (cashgame)

Postby damncute » Wed Jan 08, 2014 1:34 pm

Thanks kraada! I'll try it later and let you know how it worked.

Regards,
Chris
damncute
 
Posts: 12
Joined: Fri Dec 16, 2011 2:53 am

Re: Rakeback for a different timeframe (cashgame)

Postby damncute » Wed Jan 08, 2014 1:51 pm

Okay, this is how it looks like after my adjustments:

sum(if[cash_hand_player_statistics.date_played >= 'January 01 2013'::timestamp AND cash_hand_player_statistics.date_played <= 'January 07 2014'::timestamp, amt_rb_ftp * .25 + amt_rb_888 * .29, if[cash_hand_player_statistics.date_played >= 'January 08 2013'::timestamp, amt_rb_ftp * .25 + amt_rb_888 * .18, 0]])

But I always get "The Statement is not valid SQL" (Summary Type = Sum). I guees it's just a small misstake somewhere in the formula? The stats "amt_rb_ftp" and "amt_rb_888" are custom stats I've made myself.
damncute
 
Posts: 12
Joined: Fri Dec 16, 2011 2:53 am

Re: Rakeback for a different timeframe (cashgame)

Postby kraada » Wed Jan 08, 2014 2:25 pm

You can't use columns within other columns like that. You need to alter the amt_rb_888 and amt_rb_ftp values to be based on the timestamps.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Rakeback for a different timeframe (cashgame)

Postby damncute » Wed Jan 08, 2014 3:33 pm

Thanks again, kraada. Great!!

sum(if[cash_hand_summary.id_site=900 AND cash_hand_player_statistics.date_played <= 'January 07 2014'::timestamp,(((cash_hand_player_statistics.amt_bet_ttl / cash_hand_summary.amt_pot) * cash_hand_summary.amt_rake * 0.38)), if[cash_hand_summary.id_site=900 AND cash_hand_player_statistics.date_played >= 'January 08 2014'::timestamp,(((cash_hand_player_statistics.amt_bet_ttl / cash_hand_summary.amt_pot) * cash_hand_summary.amt_rake * 0.18)),0]])

Expression is fine now and I don't get any error. But, now it always takes the 18%, even for hands before 08 January. What did I miss here? Maybe something wrong with the timestamp?
damncute
 
Posts: 12
Joined: Fri Dec 16, 2011 2:53 am

Re: Rakeback for a different timeframe (cashgame)

Postby kraada » Wed Jan 08, 2014 5:08 pm

It certainly looks like it should work from that definition. How are you testing the results on the older hands?
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Rakeback for a different timeframe (cashgame)

Postby damncute » Thu Jan 09, 2014 1:08 am

I just changed the date time filter from 08 January to 07 January and it uses the same % for both dates.
damncute
 
Posts: 12
Joined: Fri Dec 16, 2011 2:53 am

Next

Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 20 guests

cron
highfalutin