I've generated a Johnny Chan "XC flop, bet turn" stat as follows:
sum(if[if[lookup_actions_f.action LIKE 'XC', 1, 0] > 0 AND holdem_hand_player_statistics.flg_t_saw AND substring(lookup_actions_t.action from 1 for 1)='B', 1, 0])
I've tried to extend this to number of times a flop XC is followed by a turn XC
sum(if[if[lookup_actions_f.action LIKE 'XC', 1, 0] > 0 AND holdem_hand_player_statistics.flg_t_saw AND if[lookup_actions_t.action LIKE 'XC', 1, 0] > 0])
I have violated mysterious SQL rules in the above expression. Mutliple lookups prohibited?
I interested in a methodology to generate stats on multi-street bet patterns:
XC, B
XC, XC
XC,XC,B
XC, XC, X
Bet, Bet, Bet
Bet, X, Bet
I'm dead in the water so far. I understand the denominators will be tricky and I'll certainly not capture 100% of actions. It might provide insight against certain ABC moves. Thoughts & help appreciated.
