Thanks for posting rtg.
In your query you have:
... and p:division=op:division ...
First of all, no reason really to ever query ‘previous division’ for a team as it would have been the same as today; Second, ‘ p:division=op:division’ says, team’s division is the same as the opponent’s (for both of their last games). That is the same as ‘DIV’ so I think you meant to say:
DIV and p:W and p:division=po:division and line>=-100 and o:WP<50
Which is, division game now and last game was a division game as well.
Comes to 917-1034 +109.55 units, +5.6% roi.
Gotta be careful with the little details.