hi @Hardik ,
Does the sort_order input will ensure the sequence of execution in a multileg order ? E.g I have few hedge buy legs up the sequence followed by SELL legs . Want to know if SELL legs will be executed post hedge leg execution . Kindly respond please.
{‘secret’: ‘xxxx’, ‘alertType’: ‘multi_leg_order’, ‘order_legs’: [{‘transactionType’: ‘B’, ‘orderType’: ‘LMT’, ‘quantity’: ‘10’, ‘exchange’: ‘NSE’, ‘symbol’: ‘NIFTY’, ‘instrument’: ‘OPT’, ‘productType’: ‘M’, ‘sort_order’: ‘1’, ‘price’: ‘38.43’, ‘option_type’: ‘CE’, ‘strike_price’: ‘24600’, ‘expiry_date’: ‘2024-12-19’}, {‘transactionType’: ‘B’, ‘orderType’: ‘LMT’, ‘quantity’: ‘10’, ‘exchange’: ‘NSE’, ‘symbol’: ‘NIFTY’, ‘instrument’: ‘OPT’, ‘productType’: ‘M’, ‘sort_order’: ‘2’, ‘price’: ‘23.99’, ‘option_type’: ‘PE’, ‘strike_price’: ‘24000’, ‘expiry_date’: ‘2024-12-19’}, {‘transactionType’: ‘S’, ‘orderType’: ‘LMT’, ‘quantity’: ‘10’, ‘exchange’: ‘NSE’, ‘symbol’: ‘NIFTY’, ‘instrument’: ‘OPT’, ‘productType’: ‘M’, ‘sort_order’: ‘3’, ‘price’: ‘101.56’, ‘option_type’: ‘PE’, ‘strike_price’: ‘24300’, ‘expiry_date’: ‘2024-12-19’}, {‘transactionType’: ‘S’, ‘orderType’: ‘LMT’, ‘quantity’: ‘10’, ‘exchange’: ‘NSE’, ‘symbol’: ‘NIFTY’, ‘instrument’: ‘OPT’, ‘productType’: ‘M’, ‘sort_order’: ‘4’, ‘price’: ‘115.81’, ‘option_type’: ‘CE’, ‘strike_price’: ‘24300’, ‘expiry_date’: ‘2024-12-19’}]}