Can someone confirm the correctness of the following formula and interpretation/conclusion regarding "Microprice"?
I think there must be a bug in it b/c it's so...hmm... buggy & unintuitive, IMO. Not? Was it maybe written by another Covid victim?...
Why not use the obvious & logical formula MP = (Bid * BidSize + Ask * AskSize) / (BidSize + AskSize)
and instead use the IMO buggy & illogical variant MP = (Bid * AskSize + Ask * BidSize) / (BidSize + AskSize)
?
Source: https://www.quantstart.com/articles/high-frequency-trading-ii-limit-order-book/
I think there must be a bug in it b/c it's so...hmm... buggy & unintuitive, IMO. Not? Was it maybe written by another Covid victim?...

Why not use the obvious & logical formula MP = (Bid * BidSize + Ask * AskSize) / (BidSize + AskSize)
and instead use the IMO buggy & illogical variant MP = (Bid * AskSize + Ask * BidSize) / (BidSize + AskSize)
?
Source: https://www.quantstart.com/articles/high-frequency-trading-ii-limit-order-book/