Val
Val
Here is how it looks now:  It used to be looking like this: 
https://bitsharestalk.org/index.php?topic=14185.0
What happens is bid/ask/short gets into pending transactions first, so when we pull order book it's not there yet, I used to have code that finds order in pending transactions...