Currently studying the paper:
HU, Jianfeng. Does Option Trading Convey Stock Price Information?. (2014). Journal of Financial Economics. 111, (3), 625-645. Research Collection Lee Kong Chian School Of Business.
To test the impact of option order flow affects stock order flow. Author defines the measure of option order imbalance:
$\text{OOI}_{it}=\frac{\sum_{j=1}^{N} 100\text{ Dir}_{itj}\text{Delta}_{itj}\text{Size}_{itj}}{\text{Num_Shares_Outstanding}}$
Where, The option order imbalance,$\text{OOI}_{it}$, is measured for stock i on day t. $\text{Dir}_{itj}$ is a dummy variable equal to 1 if the jth option trade on stock i is initiated by the buyer, and -1 if the trade is initiated by the seller, according to certain trade signing algorithms.$\text{Delta}_{itj}$ is the option price sensitivity to the underlying stock price, and $\text{Size}_{itj}$ denotes the trade size in option lots (100 shares of the underlying stock).
My question is:
If option trade denotes an executed trade, why do we need the dummy variable? Shouldn't buy trades be cancelled out by sell trades? Since whenever one buys someone else sale the respective quantity( price differs due to bid-ask spread).