☰
Login
Signup
Home
›
Python client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
14.1K
All Categories
0
Incidents
157
Node JS client
41
Go client
797
.Net API client
385
Kite Publisher
537
.Net / VBA / Excel (3rd party)
463
Algorithms and Strategies
1K
Java client
1.1K
API clients
407
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
In this Discussion
October 2022
sujith
Order not getting placed
kontacthimanshu
October 2022
in
Python client
I am trying to place order for BANKNIFTY options and getting this weird error. Please help:
"Trading in NSE is not allowed using NRML product type. Try placing an order in CNC/MIS."
order_id = kite.place_order(tradingsymbol=req_body["symbol"],
exchange=kite.EXCHANGE_NSE,
transaction_type=kite.TRANSACTION_TYPE_BUY,
quantity=50,
variety=kite.VARIETY_REGULAR,
order_type=kite.ORDER_TYPE_LIMIT,
product=kite.PRODUCT_NRML,
validity=kite.VALIDITY_DAY,
price=float(req_body["price"]) + 20)
Tagged:
orders
sujith
October 2022
The exchange value is wrong. It is NFO.
Sign In
or
Register
to comment.