☰
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
14K
All Categories
0
Incidents
157
Node JS client
40
Go client
794
.Net API client
383
Kite Publisher
537
.Net / VBA / Excel (3rd party)
462
Algorithms and Strategies
1K
Java client
1.1K
API clients
405
PHP client
4K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
In this Discussion
November 2017
palani_kmp
November 2017
sujith
Modify order issue
palani_kmp
November 2017
in
Python client
Hi,
I would like to modify the order that I have already placed using below code, but I got error
"'set' object has no attribute '__getitem__'"
my code is:
import requests
payload = {
"api_key=myapi",
"access_token=mytoken",
"tradingsymbol=RELIANCE",
"exchange=NSE",
"transaction_type=BUY",
"order_type=LIMIT",
"price=930"
"quantity=3",
"product=MIS",
"validity=DAY"
}
response = requests.put("
https://api.kite.trade/orders/regular/171118000000324
", data=payload)
Am I missing something?
sujith
November 2017
edited November 2017
Hi,
I think it is something to do with your code. This error is not from KiteConnect.
palani_kmp
November 2017
Yes. I have rectified..you may close this.
This discussion has been closed.
I think it is something to do with your code. This error is not from KiteConnect.