Say, 4-legged multi-leg options order with below leg
Order Qty - 100
- Buy 1 Option1 IBM 35 call 20160925
- Sell 2 Option2 IBM 25 put 20160827
- Buy 3 Option3 IBM 35 call 20150620
- Sell 4 IBM stock leg
What would be the side of the entire complex options order above?
Because another order of same legs can come with inverted sides later, which can trade with first order?
For this purpose, I need to determine side based on some approach, so I can Buy/Sell side in each case.
What exactly is buying/selling above 4-legged(with one stock leg) mean and how to determine side in the system so as to match the identical vs inverted(opposite sides on legs) orders?