validity_ttl error while placing basket order

ankit_d
Here is the code as to how I am using it -

kite.add({
exchange: "NSE",
tradingsymbol: "ARVIND",
quantity: 5,
transaction_type: "SELL",
order_type: "LIMIT",
price: 230.5,
validity: "TTL",
validity_ttl: 15
});

and adding a few more to basket

where kite is -> var kite = new KiteConnect("api_key");

I get invalid `validity_ttl` error
Sign In or Register to comment.