Hi
selections back book % = 100/back_price
selections lay book % = 100/lay_price
market book % is all the selections back or lay book % added together
so for "last traded book %" :
per selection = 100/last_traded
for market:
set a user variable, value: s_1_(100/last_traded) + s_2_(100/last_traded) + s_3_....etc.
no more often than 0.3
condition: selections back price is less than 1000