☰
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
795
.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 2018
tahseen
February 2018
sujith
Kite 3.0 - place_order Bracket Order
tahseen
February 2018
in
Python client
Dear Team,
The previous working parameters do not make the Bracket Order work with the new place_order. Can you please give a sample code for place order like you have for normal order ?
Tahseen
Tagged:
Python Client
bracket orders
sujith
February 2018
You can check out
java example here
. You need to pass same params in python also.
tahseen
February 2018
Ok so this worked in Python for kite 3.0 for Bracket Order
kite.place_order(
variety=kite.VARIETY_BO,
exchange=kite.EXCHANGE_NSE,
order_type=kite.ORDER_TYPE_LIMIT,
tradingsymbol=tradingsymbol,
transaction_type=kite.TRANSACTION_TYPE_SELL,
quantity=quantity,
price=price,
squareoff=squareoff,
stoploss=stoploss,
validity=kite.VALIDITY_DAY,
product=kite.PRODUCT_MIS)
This discussion has been closed.
kite.place_order(
variety=kite.VARIETY_BO,
exchange=kite.EXCHANGE_NSE,
order_type=kite.ORDER_TYPE_LIMIT,
tradingsymbol=tradingsymbol,
transaction_type=kite.TRANSACTION_TYPE_SELL,
quantity=quantity,
price=price,
squareoff=squareoff,
stoploss=stoploss,
validity=kite.VALIDITY_DAY,
product=kite.PRODUCT_MIS)