It looks like you're new here. If you want to get involved, click one of these buttons!
When the button, with id set to "sell-exideind" renders, it is labeled "BUY", instead of "SELL". What do I do label it "SELL"?
var order = {};
order.exchange = "NSE";
order.order_type = "MARKET";
order.quantity = 5;
order.tradingsymbol = "EXIDEIND";
order.transation_type = "SELL";
kiteConnect.add(order);
kiteConnect.finished(function (status, request_token) { });
kiteConnect.renderButton("#sell-exideind");
I guess you have to change the transaction_type spelling. By default, it labels button as "BUY".
What should the spelling be:
1. order.transactionType?
2. order.transaction_type ?
3. order.transactionType?
Please ignore my previous mail. I finally recognized the spelling mistake.