☰
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
February 2020
sujith
Order type SL-M not being recognised
zz1424
February 2020
in
Python client
Hello,
Following is my code for execution:
order_idx = kite.place_order(tradingsymbol = scripx, exchange=kite.EXCHANGE_NSE, transaction_type=kite.TRANSACTION_TYPE_SELL,quantity = entry_qty, trigger_price = sl_px, variety = 'regular', order_type=kite.ORDER_TYPE_SL-M, product=kite.PRODUCT_MIS)
But when it runs, i get an error that 'M' is not defined in 'SL-M'.
Kindly suggest what am i doing wrong here?
Regards
Tagged:
orders
SL-M order
sujith
February 2020
You can take a look at the SLM order type constant
here
.
Sign In
or
Register
to comment.