It makes even more sense for the matching engine to disallow this on the back end, though.
It makes even more sense for the matching engine to disallow this on the back end, though.
One time, a client wanted a rule to block a trade if the price exceeded the daily high/low. Well, when you define the limit this way, you pretty much can't trade right at the opening because many/most price ticks are the highest/lowest of the day SO FAR, because the day is only a few seconds old! Customer had a meltdown, we traced the market data back, and realized yeah, it worked exactly as designed. sigh
Relevant quote:
> As the senior trader at Æxecor, Brad made it very clear that no one — “not even His Holiness, the Pope” — shall question his trades. After all, Brad makes complex trading decisions that no one else could possibly comprehend.
If the average price is X basis points worse than the current top of book, that's slippage. So eg if highest bid in book is $100 and you are entering a sell order that would eat so much of the book that it would fill with an average price of $70, that's 30% slippage and probably not what you meant to do.
For liquid books, yes definitely I would expect these sort of checks (tipically against historical prices) to be in place.
And that’s where effective logging can also shine, confirming that the warning message was triggered and was explicitly dismissed.
The key trick is to know where logging can best CYA, so as to keep it down to a full roar instead of generating gigabytes of noise.