Rakeback line in graph

Questions and discussion about PokerTracker 4 for Windows

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Rakeback line in graph

Postby bruceadms » Fri Apr 26, 2024 10:43 am

hello
Would you like to know how to put the rakeback line on the graph?
Is it possible to configure the same line adding different rakebacks from different sites?
for example: 50% pokerstars and 30% ggpoker
the line already calculates these values
bruceadms
 
Posts: 4
Joined: Sat Apr 29, 2017 11:52 am

Re: Rakeback line in graph

Postby Flag_Hippo » Fri Apr 26, 2024 12:43 pm

For rakeback you will need to add a custom statistic and these are available for download in our Custom Stat Warehouse. To import statistics into PokerTracker 4 either use 'File -> Import Statistic' or go to 'Configure -> Statistics' and click the 'Options' button. To add rakeback to your graphs see this tutorial video. There are also site specific rakeback statistics in the warehouse that can be edited for use on other sites - see this guide for the basics on custom statistics creation. The relevant site ID for PokerStars is 100 and for GGPoker it is 3200.
Flag_Hippo
Moderator
 
Posts: 15049
Joined: Tue Jan 31, 2012 7:50 am

Re: Rakeback line in graph

Postby bruceadms » Fri Apr 26, 2024 2:01 pm

I couldn't do it
I already managed to put the rakeback line on the graph
but I can't configure it to create this condition
50% rakeback on pokerstars, 20% on bodog/ignition and 20% on gg poker

Would I have to create stats in columns?
what is the expression?
How to associate the column to stats?
you could help me?
bruceadms
 
Posts: 4
Joined: Sat Apr 29, 2017 11:52 am

Re: Rakeback line in graph

Postby WhiteRider » Sat Apr 27, 2024 4:24 am

As Flag_Hippo suggested previously, to make a stat specific to a site you will need to include a test for the site ID in the column expression.

For example PokerStars is site ID 100, so you need to include "cash_hand_summary.id_site = 100" as part of the condition.

At the most basic level that looks like:

amt_rakeback_ps =
sum( if[cash_hand_summary.id_site = 100, cash_hand_summary.amt_rake * 0.5, 0])

Your rakeback expression is likely to be more complex than that, but that is just to show you how to do the site test.

Ignition site ID is 2700, and GGPoker is 3200.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Rakeback line in graph

Postby bruceadms » Sun Apr 28, 2024 9:56 am

amt_rakeback_ps =
sum( if[cash_hand_summary.id_site = 100, cash_hand_summary.amt_rake * 0.5 AND cash_hand_summary.id_site = 2700, cash_hand_summary.amt_rake * 0.24, 0])

"The statement is not valid SQL"

was very hard to do

and i tried a lot , but i cant
bruceadms
 
Posts: 4
Joined: Sat Apr 29, 2017 11:52 am

Re: Rakeback line in graph

Postby WhiteRider » Sun Apr 28, 2024 10:51 am

All of the "condition" parts need to be together in the first part of the IF statement.

It would be simpler to make separate columns for each site, and then add them together in a stat, but if you want to do it all in one then you'll need to nest your IFs for each site, like this:

sum( if[cash_hand_summary.id_site = 100, cash_hand_summary.amt_rake * 0.5, if[cash_hand_summary.id_site = 2700, cash_hand_summary.amt_rake * 0.24, 0]])
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Rakeback line in graph

Postby bruceadms » Wed May 01, 2024 5:52 am

Could you send a photo or print?
i have the same error
The statement is not valid SQL
bruceadms
 
Posts: 4
Joined: Sat Apr 29, 2017 11:52 am

Re: Rakeback line in graph

Postby Flag_Hippo » Wed May 01, 2024 1:25 pm

If you are referring to WhiteRiders reply then that is valid SQL:

valid_sql.PNG
Flag_Hippo
Moderator
 
Posts: 15049
Joined: Tue Jan 31, 2012 7:50 am


Return to PokerTracker 4

Who is online

Users browsing this forum: Google [Bot] and 26 guests

cron