Markets and LP's are curves
we moved the snipers 'if then' code spaghetti from the backend to a policy editor, with a set of rules (TP take profit, SL stop_loss etc) and a set of curves.
So I can code
'if age_hours < 3'
or make this curve and say
if (curve) > 60
which also means "< 3"
but it's easier to maintain the curve from stats and automate it