Loss function: Difference between revisions

Content deleted Content added
publisher not work
Line 31:
 
===Two-parameter loss function===
SpeciallyEspecially in trading, where there is a range[[Bid–ask_spread|spread]] in betweenwhich any price is correct, this range been called spread, and the "correct" value can be anywhere between bid and ask, including theminclusive, and ask (sell price) being higher than bid, is it as follows:
 
<math>L = \frac{abs(x - a) + abs(x - b) - (b-a)}{2}</math>