MLE for the share of limit orders
An exchange feed labels each incoming message as a market order, a limit order, or a cancel, treated as independent with fixed probabilities summing to 1. Over 400 messages the counts are 120 market, 240 limit, 40 cancel.
Estimate the probability that a message is a limit order by maximum likelihood.