Modify order issue

palani_kmp
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?
This discussion has been closed.