Hi!

I have been looking around the forum and could not find an answer to my question, so I decided to ask it myself.

I am trying to build an MTT statistic that will be calculated for every hand (so I suppose it would be a T(ourney)/hand statistic) so that I can plot it on a graph as an overlay stat.

The formula I am trying to write down should calculate the amount of chips won scaled by some coefficient that takes into account some sort of money value and should look something like this:

custom_stat = amt_chips_won * amt_buyin/ starting_stack

What I need:

The information I cannot find is the 'starting_stack' amt. I found the code for how to get the number for summaries (for example here) but not as a hand statistic. Can somebody help me how to write a starting stack stat that can be accessed in the above calculation?

Thank you!!