☰
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.8K
All Categories
0
Incidents
152
Node JS client
39
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
992
Java client
1.1K
API clients
402
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
December 2017
vikasnitk85
December 2017
sujith
BO is throwing error
vikasnitk85
December 2017
edited December 2017
in
Python client
I have used this code to place the bracket order, but it gives me error "GeneralException: Route not found"
kite.order_place(tradingsymbol="SBIN", exchange="NSE", quantity=1, price=300, squareoff_value=2, stoploss_value=2, variety="BO", transaction_type="BUY", order_type="LIMIT", product="MIS", validity="IOC")
i even tried to change the case of variety and it gives me new error "DataException: Invalid response from OMS"
kite.order_place(tradingsymbol="SBIN", exchange="NSE", quantity=1, price=300, squareoff_value=2, stoploss_value=2, variety="BO", transaction_type="BUY", order_type="LIMIT", product="MIS", validity="IOC")
I even tried to change the the validity to day, but no luck. Could you guys, please help me in resolving this issue.
Tagged:
BO
Python Client
sujith
December 2017
Hi,
You can check out example for placing bracket order here
https://github.com/rainmattertech/javakiteconnect/blob/master/sample/src/Examples.java
You need to send variety as "bo".
vikasnitk85
December 2017
Thnaks Sujith, for taking your time out... However I am not sure what was the issues with that code, I used the same code again and it is working.
This discussion has been closed.
You can check out example for placing bracket order here https://github.com/rainmattertech/javakiteconnect/blob/master/sample/src/Examples.java
You need to send variety as "bo".