☰
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
13.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
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)