dbo.fn_WOM

Syntax:
dbo.fn_WOM(id_race, id_horse)

Output:
(decimal) Returns the Weight Of Money for a specific market-runner combination.

WOM is calculated with the following formula (where Bx and Lx are the available stake amounts for the best 5 back and lay prices): (B1 + B2*0.5 + B3*0.25 + B4*0.12 + B5*0.06) / (B1 + B2*0.5 + B3*0.25 + B4*0.12 + B5*0.06 + (B1 + B2*0.5 + B3*0.25 + B4*0.12 + B5*0.06 + L1 + L2*0.5 + L3*0.25 + L4*0.12 + L5*0.06)

Input parameters:
id_race (integer)Id of the market
id_horse (integer)Id of the runner