I have read somewhere in the forum that publisher supports AMO orders. But when I tried placing the same, I getting the order rejected with reason being "adapter is down.".
I tried placing the AMO order manually from kite and it worked. Can someone from developer team look into this ASAP?
Also below is the publisher snippet being used for AMO: kite.add({ "exchange": "NSE", "tradingsymbol": "INFY", "quantity": 5, "transaction_type": "BUY", "order_type": "MARKET", "order_variety": "amo", "product": "MIS" });
Please resolve ASAP.
variety
instead oforder_variety
.For placing aftermarket orders, you need to send variety as 'amo' and for placing orders for FNO you can use exchange as 'NFO'.
The above examples are in Java, you need to pass same params while placing an order from the publisher.